rename var IS_CRON with IS_SCHEDULED

This commit is contained in:
Roberto Cirillo 2022-10-05 10:21:20 +02:00
parent 15b75dea9d
commit 724a1b6228
1 changed files with 5 additions and 5 deletions

10
Jenkinsfile vendored
View File

@ -86,7 +86,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_CRON_TMP', value: 'True'
environment name: 'IS_SCHEDULED', value: 'True'
}
}
steps {
@ -104,7 +104,7 @@ pipeline {
anyOf{
allOf{
triggeredBy 'TimerTrigger'
environment name: 'IS_CRON_TMP', value: 'False'
environment name: 'IS_SCHEDULED', value: 'False'
}
}
@ -115,7 +115,7 @@ pipeline {
}
stage('New pending deploy ') {
when{
environment name: 'IS_CRON_TMP', value: 'True'
environment name: 'IS_SCHEDULED', value: 'True'
anyOf{
triggeredBy 'BuildUpstreamCause'
triggeredBy 'UpstreamCause'
@ -142,7 +142,7 @@ pipeline {
}
stage('Deploy from job ') {
when{
environment name: 'IS_CRON_TMP', value: 'False';
environment name: 'IS_SCHEDULED', value: 'False';
expression {
env.TRIGGER_CD.toBoolean()
}
@ -165,7 +165,7 @@ pipeline {
stage('Deploy manually ') {
when{
allOf{
environment name: 'IS_CRON_TMP', value: 'False';
environment name: 'IS_SCHEDULED', value: 'False';
triggeredBy 'UserIdCause'
}
}