mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-06-07 08:15:04 +00:00
Update Jenkinsfile
Testing skip env var
This commit is contained in:
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
@@ -1206,13 +1206,25 @@ pipeline {
|
||||
ck_git_creds = "${ck_git_creds}"
|
||||
gerrit_cred="${gerrit_cred}"
|
||||
DOCKER_BUILDKIT = "1"
|
||||
SHOULD_RUN_CI = expression { params.FORCE_CI.toBoolean() || shouldRunCICheck()}
|
||||
}
|
||||
stages{
|
||||
stage("Check for changes") {
|
||||
agent{ label rocmnode("nogpu") }
|
||||
steps {
|
||||
echo "SHOULD_RUN_CI: ${SHOULD_RUN_CI}"
|
||||
env.SHOULD_RUN_CI = params.FORCE_CI.toBoolean() || shouldRunCICheck()
|
||||
echo "SHOULD_RUN_CI: ${env.SHOULD_RUN_CI}"
|
||||
}
|
||||
}
|
||||
stage("Test stage") {
|
||||
agent{ label rocmnode("nogpu") }
|
||||
steps {
|
||||
echo "SHOULD_RUN_CI: ${env.SHOULD_RUN_CI}"
|
||||
if (env.SHOULD_RUN_CI.toBoolean()) {
|
||||
echo "confirmed"
|
||||
} else {
|
||||
echo "negative"
|
||||
}
|
||||
error "this should error"
|
||||
}
|
||||
}
|
||||
stage("Build Docker"){
|
||||
|
||||
Reference in New Issue
Block a user