generated from gCubeCI/Pipeline-Docker-Template
Restore IS_SCHEDULED var before the merge
This commit is contained in:
parent
a2ba4ba21a
commit
e0750810fd
|
@ -120,7 +120,7 @@ pipeline {
|
||||||
anyOf{
|
anyOf{
|
||||||
allOf{
|
allOf{
|
||||||
triggeredBy 'TimerTrigger'
|
triggeredBy 'TimerTrigger'
|
||||||
environment name: 'IS_SCHEDULED_TEST', value: 'True'
|
environment name: 'IS_SCHEDULED', value: 'True'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -140,7 +140,7 @@ pipeline {
|
||||||
anyOf{
|
anyOf{
|
||||||
allOf{
|
allOf{
|
||||||
triggeredBy 'TimerTrigger'
|
triggeredBy 'TimerTrigger'
|
||||||
environment name: 'IS_SCHEDULED_TEST', value: 'False'
|
environment name: 'IS_SCHEDULED', value: 'False'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -152,7 +152,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('New pending deploy ') {
|
stage('New pending deploy ') {
|
||||||
when{
|
when{
|
||||||
environment name: 'IS_SCHEDULED_TEST', value: 'True'
|
environment name: 'IS_SCHEDULED', value: 'True'
|
||||||
anyOf{
|
anyOf{
|
||||||
triggeredBy 'BuildUpstreamCause'
|
triggeredBy 'BuildUpstreamCause'
|
||||||
triggeredBy 'UpstreamCause'
|
triggeredBy 'UpstreamCause'
|
||||||
|
@ -180,7 +180,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('Deploy from job ') {
|
stage('Deploy from job ') {
|
||||||
when{
|
when{
|
||||||
environment name: 'IS_SCHEDULED_TEST', value: 'False';
|
environment name: 'IS_SCHEDULED', value: 'False';
|
||||||
expression {
|
expression {
|
||||||
env.TRIGGER_CD.toBoolean()
|
env.TRIGGER_CD.toBoolean()
|
||||||
}
|
}
|
||||||
|
@ -232,7 +232,7 @@ pipeline {
|
||||||
stage('Deploy manually ') {
|
stage('Deploy manually ') {
|
||||||
when{
|
when{
|
||||||
allOf{
|
allOf{
|
||||||
environment name: 'IS_SCHEDULED_TEST', value: 'False';
|
environment name: 'IS_SCHEDULED', value: 'False';
|
||||||
triggeredBy 'UserIdCause'
|
triggeredBy 'UserIdCause'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue