How to push changes to github after jenkins build completes?

前端 未结 4 1638
有刺的猬
有刺的猬 2020-12-05 02:00

I have a jenkins job that clones the repository from github, then runs the powershell script that increments the version number in the file. I\'m now trying to publish that

4条回答
  •  伪装坚强ぢ
    2020-12-05 02:12

    I followed the below Steps. It worked for me.

    In Jenkins execute shell under Build, creating a file and trying to push that file from Jenkins workspace to GitHub.

    Download Git Publisher Plugin and Configure as shown below snapshot.

    Click on Save and Build. Now you can check your git repository whether the file was pushed successfully or not.

提交回复
热议问题