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 ') {
|
stage('Nothing to do ') {
|
||||||
when{
|
when{
|
||||||
anyOf{
|
allOf{
|
||||||
allOf{
|
triggeredBy 'TimerTrigger'
|
||||||
triggeredBy 'TimerTrigger'
|
environment name: 'IS_SCHEDULED', value: 'False'
|
||||||
environment name: 'IS_SCHEDULED', value: 'False'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
echo 'Going to sleep'
|
echo 'Going to sleep'
|
||||||
sh ' exit 1; '
|
sh ' exit 0; '
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('New pending deploy ') {
|
stage('New pending deploy ') {
|
||||||
|
|
Loading…
Reference in New Issue