-
Bug
-
Resolution: Duplicate
-
Minor
agent { docker { image 'maven:3-alpine' args "-v ${HOME}/.m2:/root/.m2" } }
Fails with compilation error
groovy.lang.MissingPropertyException: No such property: HOME for class: groovy.lang.Binding
The HOME env var should technically be there in runtime since we are inside a node block
- duplicates
-
JENKINS-43911 Environment variables can't be used in agent configuration
-
- Open
-
[JENKINS-44352] Variable resolution in GString fails for docker args
Labels | New: declarative-variable-and-method-resolution |
Epic Link |
New:
|
Rank | New: Ranked higher |
Rank | New: Ranked lower |
Link | New: This issue duplicates JENKINS-43911 [ JENKINS-43911 ] |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |