-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
envinject 1.20
Jenkins 1.424.1
Windows XP
I have previously used envinject versions 1.13 and 1.17.
envinject always had problems with UNC paths in Windows.
(ex. MY_SHARED_FOLDER=\\MYCOMPUTER\Shared)
I previously was able to escape these directories by using double slashes
(MY_SHARED_FOLDER=\\\\MYCOMPUTER\Shared).
However, one of the updates between 1.17 and 1.20 introduced functionality that updates the the "Properties Content" each time the config page is saved. So after I set my value to "\\\\", and save. If I load the page again, the value is set to "
". If I save and load again, this becomes "\".
This is a very serious issue that forced me to downgrade the plugin even though I really want the Mask Password fix.
Code changed in jenkins
User: Gregory Boissinot
Path:
src/main/java/org/jenkinsci/plugins/envinject/service/PropertiesLoader.java
http://jenkins-ci.org/commit/envinject-plugin/b183fac8743092f6b49e7313ae6353c35ee6ce82
Log:
Fix
JENKINS-12746