We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93ddf04 commit 99432fcCopy full SHA for 99432fc
1 file changed
ci/Jenkinsfile.extended
@@ -165,11 +165,13 @@ pipeline {
165
node(scriptLabel) {
166
cleanWs(deleteDirs: true)
167
168
- // Start from a clean checkout of main. The script will
169
- // re-fetch main and fast-forward it to testedCommit.
+ // Start from the exact commit that passed extended tests
+ // 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.
172
checkout([
173
$class: 'GitSCM',
- branches: [[name: '*/main']],
174
+ branches: [[name: testedCommit]],
175
doGenerateSubmoduleConfigurations: scm.doGenerateSubmoduleConfigurations,
176
extensions: scm.extensions,
177
submoduleCfg: scm.submoduleCfg,
0 commit comments