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{
triggeredBy 'TimerTrigger'
// 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
equals(actual: "${params.TRIGGER_JOB}", expected: 'gCubeBuilder')
@ -137,7 +137,7 @@ pipeline {
anyOf{
allOf{
triggeredBy 'TimerTrigger'
environment name: 'IS_SCHEDULED', value: 'False'
environment name: 'IS_SCHEDULED_TEST', value: 'False'
}
}
@ -148,7 +148,7 @@ pipeline {
}
stage('New pending deploy ') {
when{
environment name: 'IS_SCHEDULED', value: 'True'
environment name: 'IS_SCHEDULED_TEST', value: 'True'
anyOf{
triggeredBy 'BuildUpstreamCause'
triggeredBy 'UpstreamCause'
@ -175,7 +175,7 @@ pipeline {
}
stage('Deploy from job ') {
when{
environment name: 'IS_SCHEDULED', value: 'False';
environment name: 'IS_SCHEDULED_TEST', value: 'False';
expression {
env.TRIGGER_CD.toBoolean()
}
@ -198,7 +198,7 @@ pipeline {
stage('Deploy manually ') {
when{
allOf{
environment name: 'IS_SCHEDULED', value: 'False';
environment name: 'IS_SCHEDULED_TEST', value: 'False';
triggeredBy 'UserIdCause'
}
}