Skip to content

Commit

Permalink
ES-1621: active forward merge automation (#1335)
Browse files Browse the repository at this point in the history
  • Loading branch information
ronanbrowne authored Nov 13, 2023
1 parent 3901a3c commit 466978c
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .ci/dev/forward-merge/JenkinsfileMergeAutomation
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#! groovy
@Library('[email protected]') _

/**
* Forward merge any changes in current branch to the branch with following version.
*
* Please note, the branches names are intentionally separated as variables, to minimised conflicts
* during automated merges for this file.
*
* These variables should be updated when a new version is cut
*/

/**
* the branch name of origin branch, it should match the current branch
* and it acts as a fail-safe inside {@code forwardMerger} pipeline
*/
String originBranch = 'release/os/5.1'

/**
* the branch name of target branch, it should be the branch with the next version
* after the one in current branch.
*/
String targetBranch = 'release/os/5.2'

/**
* Forward merge any changes between {@code originBranch} and {@code targetBranch}
*/
forwardMerger(
targetBranch: targetBranch,
originBranch: originBranch,
slackChannel: '#c5-forward-merge-bot-notifications'
)

0 comments on commit 466978c

Please sign in to comment.