-
Improvement
-
Resolution: Won't Fix
-
Major
-
None
See https://github.com/jenkins-infra/jenkins.io/pull/611
Basically, it was a design decision to not allow any form of thing.method() in Declarative. This was needed to support validation.
It is possible to circumvent this in several ways and there are bugs that might address this, but it is a hard problem.
- relates to
-
JENKINS-41335 Allow variables and functions to be defined within pipeline to be used in any stage
- Closed
-
JENKINS-37011 Provide a way to write full-fledged Steps in CPS-transformed Groovy
- Resolved
- links to