fix when sintax

This commit is contained in:
Roberto Cirillo 2022-05-10 11:32:10 +02:00
parent 03453efc5c
commit 8562a9d48e
1 changed files with 3 additions and 1 deletions

4
Jenkinsfile vendored
View File

@ -124,7 +124,9 @@ pipeline {
stage('Deploy from job ') {
when{
environment name: 'IS_CRON', value: 'False';
TRIGGER_CD True
expression {
env.TRIGGER_CD.toBoolean()
}
anyOf{
triggeredBy 'BuildUpstreamCause'
triggeredBy 'UpstreamCause'