Check if you have git user.name set.

http://git-scm.com/book/en/Customizing-Git-Git-Configuration


On Thursday, October 24, 2013 9:36:24 AM UTC-7, Julien Tanay wrote:
>
> 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, 
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to