Jenkins job hangs while pushing commits to Git repo -


i'm using jenkins 2.74.
i'm trying push commits git repo after doing changes.

this pipeline code:

stage('push git') {     steps{         bat returnstdout: true, script: '"c:\\program files\\git\\bin\\git.exe"  add -a'         bat returnstdout: true, script: '"c:\\program files\\git\\bin\\git.exe"  commit -m "upadte yaml"'         bat returnstdout: true, script: '"c:\\program files\\git\\bin\\git.exe" push -u origin master'     } } 

but, reason, job cannot completed , it's stuck this:

enter image description here

i tried on machine, using windows cmd, , works.
not on jenkins.

what doing wrong?


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -