generated from gCubeCI/Pipeline-Docker-Template
change var IS_CRON to IS_CRON_TMP temporarily
This commit is contained in:
parent
58660da462
commit
9ac38b137e
|
@ -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'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue