mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
CI: Fix merge strategy
Change-Id: I5e3fb6adfa6cbf694c0deecf02e3879297b0c12e
This commit is contained in:
@@ -80,15 +80,20 @@ pipeline {
|
||||
checkout scm: [$class: 'GitSCM',
|
||||
branches: [[name: env.GERRIT_BRANCH ]],
|
||||
extensions: [
|
||||
[$class: 'ScmName', name: 'gerrit-public'],
|
||||
[$class: 'CleanBeforeCheckout'],
|
||||
[$class: 'PreBuildMerge', options: [
|
||||
mergeStrategy: 'RECURSIVE', mergeTarget: env.GERRIT_BRANCH]],
|
||||
mergeRemote: 'gerrit-public',
|
||||
fastForwardMode: 'NO_FF',
|
||||
mergeStrategy: 'RECURSIVE',
|
||||
mergeTarget: env.GERRIT_BRANCH]],
|
||||
[$class: 'CloneOption',
|
||||
honorRefspec: true,
|
||||
noTags: true,
|
||||
depth: 10,
|
||||
shallow: true
|
||||
],
|
||||
[$class: 'PruneStaleBranch'],
|
||||
[$class: 'BuildChooserSetting',
|
||||
buildChooser: [$class: 'GerritTriggerBuildChooser']
|
||||
]
|
||||
|
@@ -81,15 +81,20 @@ pipeline {
|
||||
checkout scm: [$class: 'GitSCM',
|
||||
branches: [[name: env.GERRIT_BRANCH ]],
|
||||
extensions: [
|
||||
[$class: 'ScmName', name: 'gerrit-public'],
|
||||
[$class: 'CleanBeforeCheckout'],
|
||||
[$class: 'PreBuildMerge', options: [
|
||||
mergeStrategy: 'RECURSIVE', mergeTarget: env.GERRIT_BRANCH]],
|
||||
mergeRemote: 'gerrit-public',
|
||||
fastForwardMode: 'NO_FF',
|
||||
mergeStrategy: 'RECURSIVE',
|
||||
mergeTarget: env.GERRIT_BRANCH]],
|
||||
[$class: 'CloneOption',
|
||||
honorRefspec: true,
|
||||
noTags: true,
|
||||
depth: 10,
|
||||
shallow: true
|
||||
],
|
||||
[$class: 'PruneStaleBranch'],
|
||||
[$class: 'BuildChooserSetting',
|
||||
buildChooser: [$class: 'GerritTriggerBuildChooser']
|
||||
]
|
||||
|
Reference in New Issue
Block a user