Andreas N commented on Bug JENKINS-20941

Still a problem with Git Client plugin in version 1.9.2. Had to downgrade to 1.4.3 to make "git submodule update --init --recursive" work again.

This is on a Windows 7 Jenkins slave using Git from Mingw/MSys and HTTPS as transport protocol. Here's some console output of a build failing to update submodules:

18:04:55 Started by user daff
18:04:55 Building remotely on Windows 7 Build Server in workspace C:\Jenkins\workspace\libfoobar-windows-unstable
18:04:55  > git rev-parse --is-inside-work-tree
18:04:55 Fetching changes from the remote Git repository
18:04:55  > git config remote.origin.url https://git.example.com/quux-libfoobar.git
18:04:55 Fetching upstream changes from https://git.example.com/quux-libfoobar.git
18:04:55  > git --version
18:04:55 using .gitcredentials to set credentials
18:04:55  > git config --local credential.helper store --file=\"C:\Windows\TEMP\git5399135379421883157.credentials\"
18:04:55  > git fetch --tags --progress https://git.example.com/quux-libfoobar.git +refs/heads/*:refs/remotes/origin/*
18:04:56  > git config --local --remove-section credential
18:04:56  > git rev-parse "origin/master^{commit}"
18:04:56 Checking out Revision 4297be25a4ab6367f3061d4a6dbd9752a203ecb5 (origin/master)
18:04:56  > git config core.sparsecheckout
18:04:56  > git checkout -f 4297be25a4ab6367f3061d4a6dbd9752a203ecb5
18:04:56  > git rev-list 4297be25a4ab6367f3061d4a6dbd9752a203ecb5
18:04:56  > git remote
18:04:56  > git submodule init
18:04:57  > git submodule sync
18:04:58  > git config --get remote.origin.url
18:04:58  > git submodule update --init --recursive
18:05:00 FATAL: Command "git submodule update --init --recursive" returned status code 1:
18:05:00 stdout: 
18:05:00 stderr: fatal: Authentication failed for 'https://git.example.com/quux-libc.git/'
18:05:00 Unable to fetch in submodule path 'quux-libc'
18:05:00 
18:05:00 hudson.plugins.git.GitException: Command "git submodule update --init --recursive" returned status code 1:
18:05:00 stdout: 
18:05:00 stderr: fatal: Authentication failed for 'https://git.example.com/quux-libc.git/'
18:05:00 Unable to fetch in submodule path 'quux-libc'
18:05:00 
18:05:00 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1406)
18:05:00 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$400(CliGitAPIImpl.java:87)
18:05:00 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$6.execute(CliGitAPIImpl.java:741)
18:05:00 	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
18:05:00 	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
18:05:00 	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
18:05:00 	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
18:05:00 	at hudson.remoting.Request$2.run(Request.java:328)
18:05:00 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
18:05:00 	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
18:05:00 	at java.util.concurrent.FutureTask.run(Unknown Source)
18:05:00 	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
18:05:00 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
18:05:00 	at hudson.remoting.Engine$1$1.run(Engine.java:63)
18:05:00 	at java.lang.Thread.run(Unknown Source)
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" 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/d/optout.

Reply via email to