generated from gCubeCI/Pipeline-Docker-Template
renamed in IS_SCHEDULED_TEST
This commit is contained in:
parent
dd47ab701d
commit
8670b1f15b
|
@ -111,7 +111,7 @@ pipeline {
|
||||||
allOf{
|
allOf{
|
||||||
triggeredBy 'TimerTrigger'
|
triggeredBy 'TimerTrigger'
|
||||||
// maybe we can add a new condition in order to consider the manual execution of this pipeline
|
// maybe we can add a new condition in order to consider the manual execution of this pipeline
|
||||||
environment name: 'IS_SCHEDULED', value: 'True'
|
environment name: 'IS_SCHEDULED_TEST', value: 'True'
|
||||||
}
|
}
|
||||||
// in this case the pipeline is triggered by the gCubeBuilder pipeline
|
// in this case the pipeline is triggered by the gCubeBuilder pipeline
|
||||||
equals(actual: "${params.TRIGGER_JOB}", expected: 'gCubeBuilder')
|
equals(actual: "${params.TRIGGER_JOB}", expected: 'gCubeBuilder')
|
||||||
|
@ -137,7 +137,7 @@ pipeline {
|
||||||
anyOf{
|
anyOf{
|
||||||
allOf{
|
allOf{
|
||||||
triggeredBy 'TimerTrigger'
|
triggeredBy 'TimerTrigger'
|
||||||
environment name: 'IS_SCHEDULED', value: 'False'
|
environment name: 'IS_SCHEDULED_TEST', value: 'False'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -148,7 +148,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('New pending deploy ') {
|
stage('New pending deploy ') {
|
||||||
when{
|
when{
|
||||||
environment name: 'IS_SCHEDULED', value: 'True'
|
environment name: 'IS_SCHEDULED_TEST', value: 'True'
|
||||||
anyOf{
|
anyOf{
|
||||||
triggeredBy 'BuildUpstreamCause'
|
triggeredBy 'BuildUpstreamCause'
|
||||||
triggeredBy 'UpstreamCause'
|
triggeredBy 'UpstreamCause'
|
||||||
|
@ -175,7 +175,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('Deploy from job ') {
|
stage('Deploy from job ') {
|
||||||
when{
|
when{
|
||||||
environment name: 'IS_SCHEDULED', value: 'False';
|
environment name: 'IS_SCHEDULED_TEST', value: 'False';
|
||||||
expression {
|
expression {
|
||||||
env.TRIGGER_CD.toBoolean()
|
env.TRIGGER_CD.toBoolean()
|
||||||
}
|
}
|
||||||
|
@ -198,7 +198,7 @@ pipeline {
|
||||||
stage('Deploy manually ') {
|
stage('Deploy manually ') {
|
||||||
when{
|
when{
|
||||||
allOf{
|
allOf{
|
||||||
environment name: 'IS_SCHEDULED', value: 'False';
|
environment name: 'IS_SCHEDULED_TEST', value: 'False';
|
||||||
triggeredBy 'UserIdCause'
|
triggeredBy 'UserIdCause'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue