Update Jenkinsfile

This commit is contained in:
andrew clark
2025-09-30 13:46:06 -06:00
parent 4bb11a71d6
commit ca62573a75

18
Jenkinsfile vendored
View File

@@ -1211,7 +1211,9 @@ pipeline {
stages{
stage("Check for changes") {
agent{ label rocmnode("nogpu") }
echo "SHOULD_RUN_CI: ${SHOULD_RUN_CI}"
steps {
echo "SHOULD_RUN_CI: ${SHOULD_RUN_CI}"
}
}
stage("Build Docker"){
when {
@@ -1875,13 +1877,15 @@ pipeline {
}
post {
always {
if (!env.SHOULD_RUN_CI.toBoolean()) {
// If CI was skipped, notify each of the branch protected checks that they are successful.
def requiredChecks = getRequiredBranchChecks()
requiredChecks.each { checkName ->
echo "pass skipped check: ${checkName}"
script {
if (!env.SHOULD_RUN_CI.toBoolean()) {
// If CI was skipped, notify each of the branch protected checks that they are successful.
def requiredChecks = getRequiredBranchChecks()
requiredChecks.each { checkName ->
echo "pass skipped check: ${checkName}"
}
}
}
}
}
}
}