change var IS_CRON to IS_CRON_TMP temporarily

This commit is contained in:
Roberto Cirillo 2022-08-30 15:03:35 +02:00
parent 58660da462
commit 9ac38b137e
1 changed files with 5 additions and 5 deletions

10
Jenkinsfile vendored
View File

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