From 03453efc5ca0dd39a20fc9bddbbe2b7f56298714 Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Tue, 10 May 2022 11:22:29 +0200 Subject: [PATCH] fix when clause --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3dc0e65..a7069d9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -124,7 +124,7 @@ pipeline { stage('Deploy from job ') { when{ environment name: 'IS_CRON', value: 'False'; - environment name: 'TRIGGER_CD', value: 'True'; + TRIGGER_CD True anyOf{ triggeredBy 'BuildUpstreamCause' triggeredBy 'UpstreamCause'