diff --git a/Jenkinsfile b/Jenkinsfile index d2d20d9..1d9e139 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -114,14 +114,14 @@ pipeline { environment name: 'IS_SCHEDULED', value: 'True' } // in this case the pipeline is triggered by the gCubeBuilder pipeline - equals(actual: "${TRIGGER_JOB}", expected: 'gCubeBuilder') + equals(actual: "${${params.TRIGGER_JOB}}", expected: 'gCubeBuilder') } } steps { echo 'Cron build enabled. Deploy from system ongoing' script { echo "pipeline triggered by $TRIGGER_JOB" - if("${TRIGGER_JOB}" == "gCubeBuilder"){ + if("${${params.TRIGGER_JOB}}" == "gCubeBuilder"){ // do something println("Pipeline triggered by gCubeBuilder") }else{