-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Jenkins 1.446, EnvInject 1.11
When using a property file with "Prepare an environment for the job" with a multi-configuration project, variables are not injected for each configuration.
By looking at the console output, the environment is indeed injected at the master job level (the one launching a job for each configuration). however, it doesn't help as it seems that the environment is re-created for each configuration job.
As a workaround my idea was to inject environment using a Build Step. In that case however, I have no option for getting the properties file from the master which means I would have to maintain a file on each slave.