generated from gCubeCI/Pipeline-Docker-Template
add new triggeredBy nagative clause
This commit is contained in:
parent
98503ec88e
commit
3fc9985bc0
|
@ -34,7 +34,12 @@ pipeline {
|
|||
}
|
||||
stage('Add new pending deploy ') {
|
||||
when{
|
||||
environment name: 'IS_CRON', value: 'True'
|
||||
allOf{
|
||||
not {
|
||||
triggeredBy 'TimerTrigger'
|
||||
}
|
||||
environment name: 'IS_CRON', value: 'True'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
echo 'New deploy of ${job} appended to the deploy file'
|
||||
|
|
Loading…
Reference in New Issue