-
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
-
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...