-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
Jenkins 2.73.3 in Docker
pipeline-model-definition-plugin 1.2.3 (works) -> 1.2.4 (broken)
Options block like this:
pipeline {
options {
disableConcurrentBuilds()
timeout(time: 30, unit: 'MINUTES')
}
(...)
}
disableConcurrentBuilds() now throws a Groovy exception at build time when Jenkins tries to compile the Jenkinsfile. Class cast error from @{} to Describable.
Probably related to this change:
- is duplicated by
-
JENKINS-48127 Declarative Pipeline parameters: build fails with ProxyException / GroovyCastException
-
- Resolved
-
-
JENKINS-48123 archiveArtifacts artifacts: syntax silently ignored
-
- Closed
-
- links to
abayer And I am wondering why isMetaStep() true change isn't causing any problems before? those steps were there since version 1.0.0 and with
JENKINS-47943, I just deleted the deprecated objects those were deprecated long ago, so I don't think thats problem. I noticed from the screenshot that 1.2.3 version was working then those objects that I deleted were already deprecated in that version and also these steps were using isMetaStep ture all the time.