generated from gCubeCI/Pipeline-Docker-Template
duplicated stage NothingToDo ( by system |by Job)
This commit is contained in:
parent
a6876bf091
commit
2563761860
|
@ -31,7 +31,7 @@ pipeline {
|
|||
when{
|
||||
allOf{
|
||||
triggeredBy 'TimerTrigger'
|
||||
environment name: 'IS_CRON', value: 'True'
|
||||
environment name: 'IS_CRON', value: True
|
||||
}
|
||||
}
|
||||
steps {
|
||||
|
@ -46,20 +46,33 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
stage('Nothing to do ') {
|
||||
stage('Nothing to do by System ') {
|
||||
when{
|
||||
allOf{
|
||||
triggeredBy 'TimerTrigger'
|
||||
environment name: 'IS_CRON', value: 'False'
|
||||
environment name: 'IS_CRON', value: False
|
||||
}
|
||||
}
|
||||
steps {
|
||||
echo 'Do Nothing: cron build disabled'
|
||||
}
|
||||
}
|
||||
stage('Nothing to do by Job ') {
|
||||
when{
|
||||
environment name: 'IS_CRON', value: True
|
||||
anyOf{
|
||||
triggeredBy 'BuildUpstreamCause'
|
||||
triggeredBy 'UpstreamCause'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
echo 'Do Nothing: cron build disabled'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Add new pending deploy ') {
|
||||
when{
|
||||
environment name: 'IS_CRON', value: 'True'
|
||||
environment name: 'IS_CRON', value: True
|
||||
anyOf{
|
||||
triggeredBy 'BuildUpstreamCause'
|
||||
triggeredBy 'UpstreamCause'
|
||||
|
|
Loading…
Reference in New Issue