-
Type:
Bug
-
Resolution: Not A Defect
-
Priority:
Major
-
Component/s: job-dsl-plugin
-
Environment:Jenkins 2.235.1 - job DSL plugin 1.77
Hi,
I am getting the warning:
Warning: (xxxxxxxxxxx.groovy, line NNN) triggers is deprecated
that exists as an UNSTABLE build,
Â
whereas I am using the new syntax for pipelineJob creation:
Â
properties {
disableConcurrentBuilds()
if(params.triggers != null && params.triggers.cron != null) {
triggers {
pipelineTriggers {
triggers {
cron {
spec(params.triggers.cron)
}
}
}
}
}
regards,
Â
Â
Â
- relates to
-
JENKINS-61463 PipelineJob trigger deprecation, migration error
-
- Resolved
-