fix equals

This commit is contained in:
Roberto Cirillo 2022-10-06 13:58:37 +02:00
parent 47725a421f
commit dd47ab701d
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -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{