Skip to content

Commit 99432fc

Browse files
authored
Fix extended promotion checkout (#2953)
1 parent 93ddf04 commit 99432fc

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

ci/Jenkinsfile.extended

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,13 @@ pipeline {
165165
node(scriptLabel) {
166166
cleanWs(deleteDirs: true)
167167

168-
// Start from a clean checkout of main. The script will
169-
// re-fetch main and fast-forward it to testedCommit.
168+
// Start from the exact commit that passed extended tests
169+
// so this workspace has the CI scripts from that tested
170+
// revision. promoteMain.sh will re-fetch main and
171+
// fast-forward it to testedCommit.
170172
checkout([
171173
$class: 'GitSCM',
172-
branches: [[name: '*/main']],
174+
branches: [[name: testedCommit]],
173175
doGenerateSubmoduleConfigurations: scm.doGenerateSubmoduleConfigurations,
174176
extensions: scm.extensions,
175177
submoduleCfg: scm.submoduleCfg,

0 commit comments

Comments
 (0)