-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: config-file-provider-plugin
-
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'}"]) {
...
}
Ā