Once env.PROP is evaluated, or DefaultStepContext loads environment variables, EnvActionImpl.getEnvironment caches ownerEnvironment and will not call Run.getEnvironment again for the same build. This means that an EnvironmentContributor which, for example, pays attention to an Action that might be added during the build will not have a visible effect.
Removing the cache is easy, but there is some performance implication.
|Remote Link||This issue links to "PR 106 (Web Link)" [ 15602 ]|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Assignee||Jesse Glick [ jglick ]|
|Status||In Progress [ 3 ]||In Review [ 10005 ]|
|Resolution||Fixed [ 1 ]|
|Status||In Review [ 10005 ]||Resolved [ 5 ]|