diff --git a/tests/CI/gates.jenkinsfile b/tests/CI/gates.jenkinsfile index b25b8eb7b5..8e3f6a63c8 100644 --- a/tests/CI/gates.jenkinsfile +++ b/tests/CI/gates.jenkinsfile @@ -81,11 +81,8 @@ pipeline { branches: [[name: env.GERRIT_BRANCH ]], extensions: [ [$class: 'CleanBeforeCheckout'], - [$class: 'PreBuildMerge', options: [ - mergeRemote: env.GERRIT_NAME, - mergeTarget: env.GERRIT_BRANCH ] - ], [$class: 'CloneOption', + honorRefspec: true, noTags: true, depth: 10, shallow: true diff --git a/tests/CI/unittests.jenkinsfile b/tests/CI/unittests.jenkinsfile index a601697714..ad95d0bd56 100644 --- a/tests/CI/unittests.jenkinsfile +++ b/tests/CI/unittests.jenkinsfile @@ -82,11 +82,8 @@ pipeline { branches: [[name: env.GERRIT_BRANCH ]], extensions: [ [$class: 'CleanBeforeCheckout'], - [$class: 'PreBuildMerge', options: [ - mergeRemote: env.GERRIT_NAME, - mergeTarget: env.GERRIT_BRANCH ] - ], [$class: 'CloneOption', + honorRefspec: true, noTags: true, depth: 10, shallow: true