generated from gCubeCI/Pipeline-Docker-Template
remove exit 1 from Nothing to do stage
This commit is contained in:
parent
f48df8bc6a
commit
0c3d39c63d
|
@ -141,16 +141,14 @@ pipeline {
|
|||
}
|
||||
stage('Nothing to do ') {
|
||||
when{
|
||||
anyOf{
|
||||
allOf{
|
||||
triggeredBy 'TimerTrigger'
|
||||
environment name: 'IS_SCHEDULED', value: 'False'
|
||||
}
|
||||
allOf{
|
||||
triggeredBy 'TimerTrigger'
|
||||
environment name: 'IS_SCHEDULED', value: 'False'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
echo 'Going to sleep'
|
||||
sh ' exit 1; '
|
||||
sh ' exit 0; '
|
||||
}
|
||||
}
|
||||
stage('New pending deploy ') {
|
||||
|
|
Loading…
Reference in New Issue