chore: add FORCE_SEND parameter in Jenkins pipeline
All checks were successful
kipp-news/pipeline/head This commit looks good
All checks were successful
kipp-news/pipeline/head This commit looks good
This commit is contained in:
parent
8ba11bfccc
commit
fae8990599
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -13,11 +13,16 @@ pipeline {
|
||||
cron('0 9 * * 1')
|
||||
}
|
||||
|
||||
parameters {
|
||||
booleanParam(name: 'FORCE_SEND', defaultValue: false, description: 'Force send of newsletter')
|
||||
}
|
||||
|
||||
stages {
|
||||
stage("Send newsletter") {
|
||||
when {
|
||||
anyOf {
|
||||
triggeredBy 'TimerTrigger'
|
||||
expression { params.FORCE_SEND == true }
|
||||
}
|
||||
}
|
||||
steps {
|
||||
|
Loading…
x
Reference in New Issue
Block a user