-
Bug
-
Resolution: Unresolved
-
Minor
If you try something like
agent { label "${SOME_ENV_VAR}" } environment { SOME_ENV_VAR = "some-label" }
You'll get an error due to SOME_ENV_VAR not existing in the binding. Not ideal, obviously, but I'm not sure if we can actually solve this without significant rewrites.
- is duplicated by
-
JENKINS-46525 NPE: Cannot invoke method getScript() on null object in stage/agent/label
-
- Closed
-
-
JENKINS-44352 Variable resolution in GString fails for docker args
-
- Closed
-
- links to
[JENKINS-43911] Environment variables can't be used in agent configuration
Labels | New: declarative-variable-and-method-resolution |
Epic Link |
New:
|
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Remote Link | New: This issue links to "PR #189 (Web Link)" [ 17613 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Link |
New:
This issue is duplicated by |
Link |
New:
This issue is duplicated by |
Status | Original: In Review [ 10005 ] | New: In Progress [ 3 ] |
Labels | Original: declarative-variable-and-method-resolution | New: declarative-variable-and-method-resolution triaged-2018-11 |
Status | Original: In Progress [ 3 ] | New: Open [ 1 ] |