Details
-
Improvement
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
-
Declarative - 1.2
Description
You should be able to append to the path in the environment sections of a pipeline. Scripted pipelines support this through PATH+WHATEVER syntax in the `withEnv` step.
Attempting to use PATH = "${PATH}:..." at a top level results in this error being thrown "groovy.lang.MissingPropertyException: No such property: PATH", and attempting to use PATH+WHATEVER results in "(PATH + GO) is a binary expression, but it should be a variable expression"
Attachments
Issue Links
- depends on
-
JENKINS-42753 Generate runtime model directly from AST model
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | In Progress [ 3 ] |
Labels | declarative pipeline | declarative declarative-variable-and-method-resolution pipeline |
Sprint | Declarative - 1.2 [ 366 ] |
Rank | Ranked higher |
Link |
This issue depends on |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |