generated from gCubeCI/Pipeline-Docker-Template
rename var IS_CRON with IS_SCHEDULED
This commit is contained in:
parent
15b75dea9d
commit
724a1b6228
|
@ -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'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue