This plugin allows to perform a git push as a post build step via Git Plugin
In details, the plugin will pull then push (tags included) to the selected remote branch.
gitPush(gitScm: scm, targetBranch: env.BRANCH_NAME, targetRepo: 'origin')
The instructions below are based on a Jenkins job created as a Freestyle project.
Open the Jenkins job configuration.
Make sure the job uses git Source Code Management
.
For example, a basic git configuration could look like this:
Add Git Push
as a post build action:
Configure the action:
Report issues and enhancements in the Issue tracker.
Refer to our contribution guidelines
Licensed under MIT, see LICENSE