generated from gCubeCI/Pipeline-Docker-Template
fix syntax
This commit is contained in:
parent
8670b1f15b
commit
a0b0d90408
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue