diff --git a/Jenkinsfile b/Jenkinsfile index b6f2373ece..c3bb134be3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -431,15 +431,15 @@ pipeline { description: "") booleanParam( name: "BUILD_SMOKE_FP32", - defaultValue: false, + defaultValue: env.BRANCH_NAME == env.NIGHTLY_BRANCH ? true : false, description: "") booleanParam( name: "BUILD_SMOKE_AUX1", - defaultValue: false, + defaultValue: env.BRANCH_NAME == env.NIGHTLY_BRANCH ? true : false, description: "") booleanParam( name: "BUILD_SMOKE_FP16_BF16_INT8", - defaultValue: false, + defaultValue: env.BRANCH_NAME == env.NIGHTLY_BRANCH ? true : false, description: "") booleanParam( name: "BUILD_FULL_TESTS", @@ -526,6 +526,10 @@ pipeline { Smoke_targets = "check MIOpenDriver" NOCOMGR_flags = " -DMIOPEN_USE_COMGR=Off" } + triggers{ + + cron(env.BRANCH_NAME == env.NIGHTLY_BRANCH ? env.NIGHTLY_SCHEDULE : '') + } stages{ stage('Build Docker'){ when {