Re: How to push to Gitlab after Jenkins build

2019-01-27 Thread Faad Sayaou
After trying this command, i still had an error which says error: RPC failed; result=22, HTTP code =404 fatal: The remote end hung up unexpectedly fatal: The remote end hung up unexpectedly Everything up-to-date However, I made changes in a file from my pipeline script and I am now

Re: How to push to Gitlab after Jenkins build

2019-01-27 Thread Mark Waite
On Sun, Jan 27, 2019 at 2:14 PM Faad Sayaou wrote: > 0 > > I have a stage at the end of my pipeline job which has to push changes > back to a particular Gitlab branch. After trying out several solutions > proposed on stackoverflow, I am still not able to push to the branch > > sh("git add .") >

How to push to Gitlab after Jenkins build

2019-01-27 Thread Faad Sayaou
0 I have a stage at the end of my pipeline job which has to push changes back to a particular Gitlab branch. After trying out several solutions proposed on stackoverflow, I am still not able to push to the branch sh("git add .") sh("git commit -a -m ' New changes'") sh('git push