fix syntax

This commit is contained in:
Roberto Cirillo 2022-10-06 14:16:22 +02:00
parent 8670b1f15b
commit a0b0d90408
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -120,10 +120,10 @@ pipeline {
steps {
echo 'Cron build enabled. Deploy from system ongoing'
script {
echo "pipeline triggered by $TRIGGER_JOB"
echo "pipeline triggered by ${params.TRIGGER_JOB}"
if("${params.TRIGGER_JOB}" == "gCubeBuilder"){
// do something
println("Pipeline triggered by gCubeBuilder")
println("The Job is gCubeBuilder")
}else{
def deployFolder="CD-${env.BUILD_NUMBER}";
deployPendingJobs(deployFolder);