Example of console log:
Started by user Jenkins Admin
[EnvInject] - Loading node environment variables.
Building remotely on jenkins-training-linux-slave (linux) in workspace /home/praqma/.jenkins/workspace/bpe.roadshow.verify
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https:Fetching upstream changes from https: > git --version # timeout=10
using .gitcredentials to set credentials
> git config --local credential.helper store --file=/tmp/git6460479601874649810.credentials # timeout=10
> git -c core.askpass=true fetch --tags --progress https: > git config --local --remove-section credential # timeout=10
Seen branch in repository origin/master
Seen branch in repository origin/ready/buep
Seen 2 remote branches
Checking out Revision 8b7d9910d213bf7e235beb528bfd416d0941a168 (origin/ready/buep)
> git config core.sparsecheckout # timeout=10
> git checkout -f 8b7d9910d213bf7e235beb528bfd416d0941a168
> git rev-list 8b7d9910d213bf7e235beb528bfd416d0941a168 # timeout=10
jobs just hangs here...
How to reproduce
The situation is reproduceable every time (tried three times) after the problem reported in
After a successful job, that by an error is successful, I fixed the credentials to enable the job to push.
When building manually after the configuration change the same branch is picked up again (correct, as it isn't deleted remotely), but the plugin hangs just after printing version number.
A similar problem was reported in
JENKINS-27328 but not reproduced.
After the problem described above, the slave is killed (slave process) and master restarted. The situation can then be recreated after reboot.