generated from gCubeCI/Pipeline-Docker-Template
removed IS_CRON_TMP var. Restored the old one IS_CRON
This commit is contained in:
parent
9a7fd3687e
commit
aeb7c55861
|
@ -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'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue