-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
The scripted syntax step configFileProvider is workable, but it would be nice to directly set env variables in the declarative environment{} section or in the withEnv() step.
environment { FOO_CONFIG_FILE = configFile('default-foo-settings') }
and
withEnv(["FOO_CONFIG_FILE=${configFile 'default-foo-settings'}"]) { ... }