-
Improvement
-
Resolution: Unresolved
-
Minor
-
-
Blue Ocean 1.4 - beta 2
In Pipeline scripts, steps is bound to the DSL which has step definitions, and may be passed around as a regular object. Two use cases:
- passing it to a loaded class which would not otherwise have Script bindings in scope
- using it to disambiguate, in case you have defined a local function with the same name as a step
Currently it seems this variable is not documented. It should be mentioned in cps-global-lib/README.md and/or TUTORIAL.md. Perhaps it should be registered as a GlobalVariable to make it more discoverable.
- relates to
-
JENKINS-29952 Allow access to environment variables as Groovy variables
-
- Resolved
-
- links to
[JENKINS-33353] Document existence of steps global variable
Labels | New: documentation |
Labels | Original: documentation | New: documentation groovy |
Workflow | Original: JNJira [ 169265 ] | New: JNJira + In-Review [ 183424 ] |
Component/s | New: pipeline-general [ 21692 ] |
Component/s | Original: workflow-plugin [ 18820 ] |
Component/s | New: workflow-cps-plugin [ 21713 ] | |
Component/s | Original: pipeline [ 21692 ] |
Link |
New:
This issue relates to |
Sprint | New: Blue Ocean 1.4 - candidates [ 326 ] |
Remote Link | New: This issue links to "CloudBees Internal CD-282 (Web Link)" [ 19024 ] |