-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins LTS 2.204.5, job-dsl-plugin 1.77, pipeline job 2.37
-
-
job-dsl-plugin 1.78
Migration page for 1.77 deprecates pipeline trigger, so trying to migrate to new syntax.
Change my jobs from:
triggers {
cron('@daily')
}
To:
properties {
pipelineTriggers {
triggers
}
}
DSL processing now fails with:
13:02:42 ERROR: (fullbyacct.groovy, line 8) No signature of method: javaposse.jobdsl.plugin.structs.DescribableListContext.cron() is applicable for argument types: (java.lang.String) values: [@daily]
13:02:42 Possible solutions: grep(), print(java.io.PrintWriter), print(java.lang.Object), grep(java.lang.Object), wait(), find()
Am I missing something?
- relates to
-
JENKINS-63119 triggers is deprecated -> UNSTABLE build
- Fixed but Unreleased