I'm getting the following error from Git polling. I replaced the actual 
repo url with [REPO_URL] as it is an internal corporate server. One thing 
that I noticed though is that the repo url being used does not have the 
password in it even though I have it specified in my project settings.

I am seeing http://username@repo_url.git when polling but if I trigger a 
build it uses the full url that i give in the settings 
http://username:password@repo_url.git

Any ideas?

Started on Nov 14, 2013 7:01:23 AM
Using strategy: Default
[poll] Last Built Revision: Revision d15f90e09197e2d9e64274bc8b857fd6f9e5b856 
(origin/tri-mode)
FATAL: Failed to connect to [ 
<http://XpressBot@172.18.5.252:7990/scm/xwps/xpressv2.git>REPO_URL] (status = 
401)hudson.util.IOException2 
<http://stacktrace.jenkins-ci.org/search?query=hudson.util.IOException2>: 
Failed to connect to [ 
<http://XpressBot@172.18.5.252:7990/scm/xwps/xpressv2.git>REPO_URL] (status = 
401)
        at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:458) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.compareRemoteRevisionWith&entity=method>
        at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.scm.SCM._compareRemoteRevisionWith&entity=method>
        at hudson.scm.SCM.poll(SCM.java:373) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.scm.SCM.poll&entity=method>
        at hudson.model.AbstractProject._poll(AbstractProject.java:1567) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractProject._poll&entity=method>
        at hudson.model.AbstractProject.poll(AbstractProject.java:1490) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractProject.poll&entity=method>
        at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.triggers.SCMTrigger$Runner.runPolling&entity=method>
        at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.triggers.SCMTrigger$Runner.run&entity=method>
        at 
hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.util.SequentialExecutionQueue$QueueEntry.run&entity=method>
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: hudson.plugins.git.GitException: Failed to connect to [ 
<http://XpressBot@172.18.5.252:7990/scm/xwps/xpressv2.git>REPO_URL] (status = 
401)
        at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getURLWithCrendentials(CliGitAPIImpl.java:1437)
        at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getURLWithCrendentials(CliGitAPIImpl.java:1379)
        at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getHeadRev(CliGitAPIImpl.java:1294)
        at 
hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:488)
        at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:456)
        ... 13 more
Done. Took 0.24 sec
No changes

-- 
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-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to