chore: add FORCE_SEND parameter in Jenkins pipeline
All checks were successful
kipp-news/pipeline/head This commit looks good

This commit is contained in:
wpetit 2025-04-14 09:09:35 +02:00
parent 8ba11bfccc
commit fae8990599

5
Jenkinsfile vendored
View File

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