From dd47ab701d7b4776d0267c0c90168d0255100733 Mon Sep 17 00:00:00 2001 From: "roberto.cirillo" Date: Thu, 6 Oct 2022 13:58:37 +0200 Subject: [PATCH] fix equals --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1d9e139..00e598c 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: "${${params.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("${${params.TRIGGER_JOB}}" == "gCubeBuilder"){ + if("${params.TRIGGER_JOB}" == "gCubeBuilder"){ // do something println("Pipeline triggered by gCubeBuilder") }else{