renamed in IS_SCHEDULED_TEST

This commit is contained in:
Roberto Cirillo 2022-10-06 14:07:08 +02:00
parent dd47ab701d
commit 8670b1f15b
1 changed files with 5 additions and 5 deletions

10
Jenkinsfile vendored
View File

@ -111,7 +111,7 @@ pipeline {
allOf{ allOf{
triggeredBy 'TimerTrigger' triggeredBy 'TimerTrigger'
// maybe we can add a new condition in order to consider the manual execution of this pipeline // maybe we can add a new condition in order to consider the manual execution of this pipeline
environment name: 'IS_SCHEDULED', value: 'True' environment name: 'IS_SCHEDULED_TEST', value: 'True'
} }
// in this case the pipeline is triggered by the gCubeBuilder pipeline // in this case the pipeline is triggered by the gCubeBuilder pipeline
equals(actual: "${params.TRIGGER_JOB}", expected: 'gCubeBuilder') equals(actual: "${params.TRIGGER_JOB}", expected: 'gCubeBuilder')
@ -137,7 +137,7 @@ pipeline {
anyOf{ anyOf{
allOf{ allOf{
triggeredBy 'TimerTrigger' triggeredBy 'TimerTrigger'
environment name: 'IS_SCHEDULED', value: 'False' environment name: 'IS_SCHEDULED_TEST', value: 'False'
} }
} }
@ -148,7 +148,7 @@ pipeline {
} }
stage('New pending deploy ') { stage('New pending deploy ') {
when{ when{
environment name: 'IS_SCHEDULED', value: 'True' environment name: 'IS_SCHEDULED_TEST', value: 'True'
anyOf{ anyOf{
triggeredBy 'BuildUpstreamCause' triggeredBy 'BuildUpstreamCause'
triggeredBy 'UpstreamCause' triggeredBy 'UpstreamCause'
@ -175,7 +175,7 @@ pipeline {
} }
stage('Deploy from job ') { stage('Deploy from job ') {
when{ when{
environment name: 'IS_SCHEDULED', value: 'False'; environment name: 'IS_SCHEDULED_TEST', value: 'False';
expression { expression {
env.TRIGGER_CD.toBoolean() env.TRIGGER_CD.toBoolean()
} }
@ -198,7 +198,7 @@ pipeline {
stage('Deploy manually ') { stage('Deploy manually ') {
when{ when{
allOf{ allOf{
environment name: 'IS_SCHEDULED', value: 'False'; environment name: 'IS_SCHEDULED_TEST', value: 'False';
triggeredBy 'UserIdCause' triggeredBy 'UserIdCause'
} }
} }