fix sintax

This commit is contained in:
Roberto Cirillo 2022-04-22 16:03:08 +02:00
parent 2563761860
commit 3b213c1051
1 changed files with 3 additions and 5 deletions

8
Jenkinsfile vendored
View File

@ -46,7 +46,7 @@ pipeline {
} }
} }
} }
stage('Nothing to do by System ') { stage('Nothing to do by System ') {
when{ when{
allOf{ allOf{
triggeredBy 'TimerTrigger' triggeredBy 'TimerTrigger'
@ -57,7 +57,7 @@ pipeline {
echo 'Do Nothing: cron build disabled' echo 'Do Nothing: cron build disabled'
} }
} }
stage('Nothing to do by Job ') { stage('Nothing to do by Job ') {
when{ when{
environment name: 'IS_CRON', value: True environment name: 'IS_CRON', value: True
anyOf{ anyOf{
@ -69,8 +69,7 @@ pipeline {
echo 'Do Nothing: cron build disabled' echo 'Do Nothing: cron build disabled'
} }
} }
stage('Add new pending deploy ') {
stage('Add new pending deploy ') {
when{ when{
environment name: 'IS_CRON', value: True environment name: 'IS_CRON', value: True
anyOf{ anyOf{
@ -95,7 +94,6 @@ pipeline {
echo "Cron build disabled. New deploy of ${params.TRIGGER_JOB} - ${params.TRIGGER_VERSION} ongoing" echo "Cron build disabled. New deploy of ${params.TRIGGER_JOB} - ${params.TRIGGER_VERSION} ongoing"
} }
} }
} }
post { post {
always { always {