From 6cbde034750d9a6108ce8da955725d9ba24e1bb2 Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Fri, 22 Apr 2022 16:05:03 +0200 Subject: [PATCH] fix sintax --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ebac38e..af0e941 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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'