fix sintax

This commit is contained in:
Roberto Cirillo 2022-04-22 16:05:03 +02:00
parent 3b213c1051
commit 6cbde03475
1 changed files with 4 additions and 4 deletions

8
Jenkinsfile vendored
View File

@ -31,7 +31,7 @@ pipeline {
when{ when{
allOf{ allOf{
triggeredBy 'TimerTrigger' triggeredBy 'TimerTrigger'
environment name: 'IS_CRON', value: True environment name: 'IS_CRON', value: 'True'
} }
} }
steps { steps {
@ -50,7 +50,7 @@ pipeline {
when{ when{
allOf{ allOf{
triggeredBy 'TimerTrigger' triggeredBy 'TimerTrigger'
environment name: 'IS_CRON', value: False environment name: 'IS_CRON', value: 'False'
} }
} }
steps { steps {
@ -59,7 +59,7 @@ pipeline {
} }
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{
triggeredBy 'BuildUpstreamCause' triggeredBy 'BuildUpstreamCause'
triggeredBy 'UpstreamCause' triggeredBy 'UpstreamCause'
@ -71,7 +71,7 @@ pipeline {
} }
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{
triggeredBy 'BuildUpstreamCause' triggeredBy 'BuildUpstreamCause'
triggeredBy 'UpstreamCause' triggeredBy 'UpstreamCause'