mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
ES-1313: changes for better future forward merges (#7486)
* add more comments as a form of documentation * move variable names away from calling pipeline for better experience of future forward merges if pipeline parameters were to change
This commit is contained in:
parent
8e2115293a
commit
dfe0ed294e
33
.ci/dev/forward-merge/Jenkinsfile
vendored
33
.ci/dev/forward-merge/Jenkinsfile
vendored
@ -1,8 +1,31 @@
|
||||
@Library('corda-shared-build-pipeline-steps@5.1') _
|
||||
|
||||
forwardMerger(
|
||||
targetBranch: 'release/os/4.7',
|
||||
originBranch: 'release/os/4.6',
|
||||
slackChannel: '#c4-forward-merge-bot-notifications'
|
||||
)
|
||||
/*
|
||||
* 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/4.6'
|
||||
|
||||
/**
|
||||
* 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/4.7'
|
||||
|
||||
/**
|
||||
* Forward merge any changes between #originBranch and #targetBranch
|
||||
*/
|
||||
forwardMerger(
|
||||
targetBranch: targetBranch,
|
||||
originBranch: originBranch,
|
||||
slackChannel: '#c4-forward-merge-bot-notifications',
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user