-
Improvement
-
Resolution: Unresolved
-
Trivial
-
None
-
rc1
Environment variables can depend on each other, so their ordering matters.
For example, this makes no sense unless we can reorder these:
environment { test = "${test2}" test2 = "test2" }
- relates to
-
JENKINS-43013 environment directive doesn't properly order GString evaluation
-
- Closed
-
So the ordering of the environment variables doesn't actually matter in practice - we end up resolving the environment variables later using hudson.EnvVars.overrideExpandingAll(Map), which does some nifty magic behind the scenes to figure out the right order to resolve the variables in based on their contents. Is nifty indeed.