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{
allOf{
triggeredBy 'TimerTrigger'
environment name: 'IS_CRON', value: True
environment name: 'IS_CRON', value: 'True'
}
}
steps {
@ -50,7 +50,7 @@ pipeline {
when{
allOf{
triggeredBy 'TimerTrigger'
environment name: 'IS_CRON', value: False
environment name: 'IS_CRON', value: 'False'
}
}
steps {
@ -59,7 +59,7 @@ pipeline {
}
stage('Nothing to do by Job ') {
when{
environment name: 'IS_CRON', value: True
environment name: 'IS_CRON', value: 'True'
anyOf{
triggeredBy 'BuildUpstreamCause'
triggeredBy 'UpstreamCause'
@ -71,7 +71,7 @@ pipeline {
}
stage('Add new pending deploy ') {
when{
environment name: 'IS_CRON', value: True
environment name: 'IS_CRON', value: 'True'
anyOf{
triggeredBy 'BuildUpstreamCause'
triggeredBy 'UpstreamCause'