> /usr/bin/git submodule sync # timeout=10 > /usr/bin/git config --get remote.origin.url # timeout=10 > /usr/bin/git submodule update --init --recursive FATAL: Command "/usr/bin/git submodule update --init --recursive" returned status code 1: stdout: stderr: fatal: Authentication failed Unable to fetch in submodule path
I solved this problem on Windows by adding this as a buildstep before the SCM runs:
git.exe config --global credential.helper wincred
it is specifically needed for sub-modules. The local cred store does not handle sub-modules (I think)
--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/f7c231e9-fce6-4d7f-b420-109ce6fe5cf9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Not before a POLL but in the job before it pulls from git. Something else polls or triggers the build.
I also think it can be done once but does not hurt to do again so I just always do it
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2cb4f84f-55cd-4c5f-9693-ca3918d6ca8b%40googlegroups.com.
Wincred is the Windows Credential store. You probably want something else for your host OS
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ac1e8ee3-a333-4b22-a87d-140e80380257%40googlegroups.com.