jobs/seed: added nightly trigger with replaced pipelinetriggers

since job dsl plugin 1.77 the option 'triggers' is deprecated and
will be removed (causes problems:
https://issues.jenkins.io/browse/JENKINS-53775), see
https://github.com/jenkinsci/job-dsl-plugin/wiki/Migration#migrating-to-177
Thus the option triggers was replaced

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
This commit is contained in:
Marc Mattmüller 2023-09-04 09:07:34 +02:00
parent 1840ec74ea
commit 6779ef5846
1 changed files with 9 additions and 0 deletions

View File

@ -11,6 +11,15 @@ pipelineJob('nwl') {
daysToKeep(7)
numToKeep(7)
}
properties {
pipelineTriggers {
triggers {
cron {
spec('H H(5-6) * * 1-5')
}
}
}
}
definition {
cpsScm {
scm {