Unable to anonymously clone a Jenkins scriptler repository

219 views
Skip to first unread message

Mark Eggers

unread,
May 25, 2016, 4:56:07 PM5/25/16
to Jenkins Users
Hi,

I'm trying to reorganize a bunch of Groovy scripts with Scriptler, and I would like to use the git repository.

My environment:

CentOS 6.8 64 bit
JRE 1.8.0_92 (Oracle)
git 1.7.12.4 (rpmforge)

Apache HTTPD 2.2.15-53 (CentOS)
mod_jk 1.2.41 (ASF)
Tomcat 8.0.33 (ASF)

Jenkins 2.6 (upgraded from the last 1.6x release)
scriptler 2.9
git 2.4.4
git-client 1.19.6
git-server 1.6

From the documentation, it indicates that I should be able to clone the git repository of scriptler from http://[jenkins-url]/scriptler.git

However, if I try to clone this from Windows 7 64 bit (git 2.6.3.windows.1), I get the following:

Cloning into 'scriptler'...
error: fatal: RPC failed; result=22, HTTP code = 403
The remote end hung up unexpectedly

I've tried this both through HTTPD and through Tomcat directly (port 8080).

I understand that to push to the git repository, I'll have to have credentials. However, I'm not able to clone the existing repository, whether
it's empty or it contains a sample script.

Obviously I am doing something wrong. What do I need to do to make this work?

Mark
/mde/

Mark Eggers

unread,
May 25, 2016, 6:00:25 PM5/25/16
to Jenkins Users
As a followup - anonymous cloning works as expected with the following environment:

CentOS 6.7 64 bit

Tomcat 7.0.69 (ASF)
JRE 1.7.0_80 (Oracle - sigh)

Apache HTTPD 2.2.15-47
mod_jk 1.2.41 (ASF)

git 1.7.1

Jenkins 1.656
Scriptler 2.9

So I'm missing something in my upgrade from 1.656 to 2.x?

Mark
/mde/

Daniel Beck

unread,
May 31, 2016, 5:33:11 AM5/31/16
to jenkins...@googlegroups.com

> On 26.05.2016, at 00:00, Mark Eggers <mdeg...@gmail.com> wrote:
>
> So I'm missing something in my upgrade from 1.656 to 2.x?
>

Wild guess -- your security configuration changed between releases, now anonymous doesn't have the relevant permissions anymore.
Reply all
Reply to author
Forward
0 new messages