remove exit 1 from Nothing to do stage

This commit is contained in:
Roberto Cirillo 2022-10-17 16:32:53 +02:00
parent f48df8bc6a
commit 0c3d39c63d
1 changed files with 4 additions and 6 deletions

10
Jenkinsfile vendored
View File

@ -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 ') {