-
Improvement
-
Resolution: Fixed
-
Minor
-
-
Declarative - 1.2
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"
- depends on
-
JENKINS-42753 Generate runtime model directly from AST model
-
- Closed
-
[JENKINS-42281] Allow appending to the PATH in environment sections
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Labels | Original: declarative pipeline | New: declarative declarative-variable-and-method-resolution pipeline |
Sprint | New: Declarative - 1.2 [ 366 ] |
Rank | New: Ranked higher |
Link |
New:
This issue depends on |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Hmmmmmm. Good question. PATH+WHATEVER definitely won't work as something to set, and PATH isn't yet available at the time we're processing the environment, so we need some way to let you get to PATH+WHATEVER...