Jenkins can't pull local Git repo - v1.536

779 views
Skip to first unread message

Julien Tanay

unread,
Oct 24, 2013, 12:36:24 PM10/24/13
to jenkins...@googlegroups.com
Hi, 

Since this morning - and I absolutely don't know why! - Jenkins is not able to pull from any of my local repository.

Builds that worked yesterday don't today. The only error i got is this Exception :

FATAL: Username may not be null
java.lang.IllegalArgumentException: Username may not be null
at org.apache.commons.httpclient.UsernamePasswordCredentials.<init>(UsernamePasswordCredentials.java:90)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getURLWithCrendentials(CliGitAPIImpl.java:1365)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:155)
at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:610)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:836)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1411)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:557)
at hudson.model.Run.execute(Run.java:1665)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceControl

But I didn't change anything to my settings.
I am using a Jenkins user.
From the command line, I am able to pull my repositories (with the exact same credentials).

I'm lost here. Did you ever seen such an Exception ?

Thanks for your help, 

Julien Tanay

unread,
Oct 24, 2013, 12:42:06 PM10/24/13
to jenkins...@googlegroups.com
PS : I'm using Jenkins 1.536 with :
GIT Plugin 2.0
GIT client Plugin 1.4.5
SSH Credentials Plugin 1.5.1 (STRANGE ; previous version was 0.3!!!)


cchen

unread,
Oct 24, 2013, 2:50:09 PM10/24/13
to jenkins...@googlegroups.com

Julien Tanay

unread,
Oct 25, 2013, 5:54:17 AM10/25/13
to jenkins...@googlegroups.com
Hi, 

Thanks for your answer, 

I trid to set this setting but it did not change anything...


2013/10/24 cchen <chen...@gmail.com>

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/Kw52lokhrTw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Julien Tanay - @Djiit

Igor Lankin

unread,
Oct 29, 2013, 9:40:49 AM10/29/13
to jenkins...@googlegroups.com
Hi Julien,

we are experiencing exactly the same problem. Just came out of nowhere.

Have you been able to find out something?

Best regards

Igor

Slide

unread,
Oct 29, 2013, 9:50:01 AM10/29/13
to jenkins...@googlegroups.com
I'm wondering if this is somehow related to https://issues.jenkins-ci.org/browse/JENKINS-20262. Can you try rolling back to 1.535?


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

Julien Tanay

unread,
Oct 29, 2013, 11:31:42 AM10/29/13
to jenkins...@googlegroups.com
Hi, 

Thanks for your answer. I wasn't able to do anything about it.

I'll rollback Jenkins to 1.535 ASAP and I'll keep you in touch.

Julien

Julien Tanay

unread,
Oct 29, 2013, 1:19:00 PM10/29/13
to jenkins...@googlegroups.com
 -- Just an update :

Tried to upgrade to 1.357 : same issue. I'll try to rollback tomorrow.

Julien Tanay

unread,
Oct 30, 2013, 1:24:59 PM10/30/13
to jenkins...@googlegroups.com
Hello all, 

ERRATUM : the version I tried yesterday was 1.537 and not 1.357.

I downgraded my Jenkins 1.535 and found the exact same issue ... "Username may not be null".

But which username ???

Thx, 

Julien

Slide

unread,
Oct 30, 2013, 1:36:40 PM10/30/13
to jenkins...@googlegroups.com
Did you try setting up the git credentials again? They may have become corrupted via the 1.536 issues.


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Julien Tanay

unread,
Oct 30, 2013, 1:49:09 PM10/30/13
to jenkins...@googlegroups.com
Hi Slide, 

On the server side or on the Jenkins side ?

Thx, 

Julien

Slide

unread,
Oct 30, 2013, 1:50:58 PM10/30/13
to jenkins...@googlegroups.com
Hi,

On the Jenkins side.

Thanks,

Alex


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Julien Tanay

unread,
Nov 4, 2013, 8:13:42 AM11/4/13
to jenkins...@googlegroups.com
Hi all, 

After upgrading again to 1.537, I changed the git credentials just to see if it works...

Well now I don't see the error anymore, but when I try to pull from my local gitlab (on the same machine than Jenkins) during a build job, getting a 503 error :
"Failed to connect to 'http://gitlab.myserver/my/repo.git' (status = 503)"

I Tried to check on the build configuration side the adress of my GitLab repository : I get a 504 error...

That's wierd...

Thanks for your help, 

Julien

Julien Tanay

unread,
Nov 4, 2013, 10:41:44 AM11/4/13
to jenkins...@googlegroups.com
Hi all, 

It was a proxy issue... my bad...

I had to save proxy settings again after the upgrade and that did the trick.

Thanks all for your help. I hope this thread could help someone else !

Julien
Reply all
Reply to author
Forward
0 new messages