-
Bug
-
Resolution: Fixed
-
Major
-
None
I upgraded from EnvInject Plugin 1.28 to 1.30. The result was that, for some jobs, variables I have previously defined are not displayed on the job configuration page.
This is where I have selected "Inject environment variables to the build process", and have entries in the "Properties Content" box. Even though the entries are on teh job config file, they are not always displayed in the "Properties Content" box.
When the config.xml looks like this, the "Properties Content" box IS correctly populated:
<EnvInjectBuildWrapper> <info> <propertiesContent>branchTagPath=v0.9</propertiesContent> <loadFilesFromMaster>false</loadFilesFromMaster> </info> </EnvInjectBuildWrapper>
When the config.xml looks like this, the "Properties Content" box s incorrectly displays EMPTY:
<EnvInjectBuildWrapper> <info> <propertiesContentMap class="linked-hash-map"> <entry> <string>materialize_component</string> <string>sda</string> </entry> <entry> <string>materialize_category</string> <string>sda</string> </entry> <entry> <string>materialize_version</string> <string>v0.9</string> </entry> <entry> <string>materialize_workspace_path</string> <string>${WORKSPACE}/materialize_workspace</string> </entry> </propertiesContentMap> <loadFilesFromMaster>false</loadFilesFromMaster> </info> </EnvInjectBuildWrapper>