-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
Jenkins 1.500
Config File Provider Plugin 2.4
We have a maven job with the Jenkins Config File Provider plugin configured to provide a properties file and put it location in a TEST_PROPERTIES environment variable.
Then the 'goals and options' field contains -Dproperties.url=file://${TEST_PROPERTIES}
This worked before a recent upgrade to Jenkins 1.500, but now the variable is not expanded which causes build to fail.
Log from a build before upgrade to 1.500:
[...]
provisoning config files...
copy managed file [local.properties] to file:/srv/tmp/config1408060397776967617tmp
[...]
Executing Maven: -B [...] -Dproperties.url=file:///srv/tmp/config1408060397776967617tmp
Log from a build under 1.500:
[...]
provisoning config files...
copy managed file [local.properties] to file:/srv/tmp/config5441788955584931389tmp
[...]
Executing Maven: -B [...] -Dproperties.url=file://${TEST_PROPERTIES}
- duplicates
-
JENKINS-17555 Environment variables not set early enough (or at all?)
- Closed