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:
parent
1840ec74ea
commit
6779ef5846
|
|
@ -11,6 +11,15 @@ pipelineJob('nwl') {
|
||||||
daysToKeep(7)
|
daysToKeep(7)
|
||||||
numToKeep(7)
|
numToKeep(7)
|
||||||
}
|
}
|
||||||
|
properties {
|
||||||
|
pipelineTriggers {
|
||||||
|
triggers {
|
||||||
|
cron {
|
||||||
|
spec('H H(5-6) * * 1-5')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
definition {
|
definition {
|
||||||
cpsScm {
|
cpsScm {
|
||||||
scm {
|
scm {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue