generated from gCubeCI/Pipeline-Docker-Template
Replace IS_SCHEDULED_TEST with IS_SCHEDULED var
This commit is contained in:
parent
ed1071bdb4
commit
599ab1ebf7
|
@ -124,7 +124,7 @@ pipeline {
|
|||
anyOf{
|
||||
allOf{
|
||||
triggeredBy 'TimerTrigger'
|
||||
environment name: 'IS_SCHEDULED_TEST', value: 'True'
|
||||
environment name: 'IS_SCHEDULED', value: 'True'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -144,7 +144,7 @@ pipeline {
|
|||
anyOf{
|
||||
allOf{
|
||||
triggeredBy 'TimerTrigger'
|
||||
environment name: 'IS_SCHEDULED_TEST', value: 'False'
|
||||
environment name: 'IS_SCHEDULED', value: 'False'
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -156,7 +156,7 @@ pipeline {
|
|||
}
|
||||
stage('New pending deploy ') {
|
||||
when{
|
||||
environment name: 'IS_SCHEDULED_TEST', value: 'True'
|
||||
environment name: 'IS_SCHEDULED', value: 'True'
|
||||
anyOf{
|
||||
triggeredBy 'BuildUpstreamCause'
|
||||
triggeredBy 'UpstreamCause'
|
||||
|
@ -185,7 +185,7 @@ pipeline {
|
|||
}
|
||||
stage('Deploy from job ') {
|
||||
when{
|
||||
environment name: 'IS_SCHEDULED_TEST', value: 'False';
|
||||
environment name: 'IS_SCHEDULED', value: 'False';
|
||||
expression {
|
||||
env.TRIGGER_CD.toBoolean()
|
||||
}
|
||||
|
@ -232,7 +232,7 @@ pipeline {
|
|||
stage('Deploy manually ') {
|
||||
when{
|
||||
allOf{
|
||||
environment name: 'IS_SCHEDULED_TEST', value: 'False';
|
||||
environment name: 'IS_SCHEDULED', value: 'False';
|
||||
triggeredBy 'UserIdCause'
|
||||
}
|
||||
expression { params.TRIGGER_JOB != "${RELEASE_JOB}" }
|
||||
|
|
Loading…
Reference in New Issue