Have you ever found it annoying to merge main branch into your feature branch when the main branch is updated? Or, have you ever been caught in a panic right before merging your feature branch into the main branch because you didn't notice an update on the main branch?
This plugin will solve such problems!
- You merge a feature branch into the main branch.
- Bitbucket server notifies Jenkins of the event.
- Jenkins starts a job containing build step of this plugin.
- This plugin fetches all opened pull requests and create pull requests from the main branch to branches of those pull request.
- What you should do is just merging them!
- Download the latest version of Back-Merge-plugin from Release.
- Deploy it to your Jenkins via
/pluginManager/advanced
. - Go to Jenkins
/configure
, and fill in Back Merge plugin settings. - Create new Freestyle job.
- In its configure page, specify
Create back merge pull requests
build step.
Name | Description |
---|---|
URL of Git repository hosting service | Usually like https://your.bitbuckt.server.url . |
Auth credential | This values will be used for calling Bitbucket Server API. You can use either of the following values. 1. Your user name and password of your Bitbucket server account. 2. HTTP Access Token of your project. |
Name | Description |
---|---|
Project name | xxx of /projects/xxx/repos/yyy in the case of Bitbucket Server. |
Repository name | yyy of /projects/xxx/repos/yyy in the case of Bitbucket Server. |
Base branch name | For example, main , master , work , etc. |
- This plugin is currently used for only Bitbucket Server.
- You need to set up trigger of your job by yourself. I recommend
Bitbucket-Server-Integration
plugin.
Licensed under MIT, see LICENSE