[ https://issues.jenkins-ci.org/browse/JENKINS-12936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159681#comment-159681 ]
SCM/JIRA link daemon commented on JENKINS-12936: ------------------------------------------------ Code changed in jenkins User: Gregory Boissinot Path: src/main/java/org/jenkinsci/plugins/envinject/EnvInjectInfo.java src/main/java/org/jenkinsci/plugins/envinject/service/PropertiesGetter.java http://jenkins-ci.org/commit/envinject-plugin/9fa3650160483ba454cae1ff4404795c455a3f80 Log: Fix JENKINS-12936 Compare: https://github.com/jenkinsci/envinject-plugin/compare/0324aaa...9fa3650 > EnvInject Plugin 1.30 does not display all properties on job config page > ------------------------------------------------------------------------ > > Key: JENKINS-12936 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12936 > Project: Jenkins > Issue Type: Bug > Components: envinject > Reporter: mwebber > Assignee: gbois > > 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: > {noformat} > <EnvInjectBuildWrapper> > <info> > <propertiesContent>branchTagPath=v0.9</propertiesContent> > <loadFilesFromMaster>false</loadFilesFromMaster> > </info> > </EnvInjectBuildWrapper> > {noformat} > When the config.xml looks like this, the "Properties Content" box s > incorrectly displays EMPTY: > {noformat} > <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> > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira