removed IS_CRON_TMP var. Restored the old one IS_CRON

This commit is contained in:
Roberto Cirillo 2022-10-04 16:26:49 +02:00
parent 9a7fd3687e
commit aeb7c55861
1 changed files with 5 additions and 5 deletions

10
Jenkinsfile vendored
View File

@ -81,7 +81,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_CRON', value: 'True'
}
}
steps {
@ -126,7 +126,7 @@ pipeline {
anyOf{
allOf{
triggeredBy 'TimerTrigger'
environment name: 'IS_CRON_TMP', value: 'False'
environment name: 'IS_CRON', value: 'False'
}
}
@ -137,7 +137,7 @@ pipeline {
}
stage('New pending deploy ') {
when{
environment name: 'IS_CRON_TMP', value: 'True'
environment name: 'IS_CRON', value: 'True'
anyOf{
triggeredBy 'BuildUpstreamCause'
triggeredBy 'UpstreamCause'
@ -164,7 +164,7 @@ pipeline {
}
stage('Deploy from job ') {
when{
environment name: 'IS_CRON_TMP', value: 'False';
environment name: 'IS_CRON', value: 'False';
expression {
env.TRIGGER_CD.toBoolean()
}
@ -187,7 +187,7 @@ pipeline {
stage('Deploy manually ') {
when{
allOf{
environment name: 'IS_CRON_TMP', value: 'False';
environment name: 'IS_CRON', value: 'False';
triggeredBy 'UserIdCause'
}
}