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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -