-
Improvement
-
Resolution: Fixed
-
Major
Additional variables usually define paths for Windows platforms. In such case Custom Tools Plugin substitutes variables and then parses the *.prop format, hence single backslashes from paths are being interpreted as special symbols
- is duplicated by
-
JENKINS-22870 Additional vars injection eats Windows backslashes in macros
-
- Closed
-
Code changed in jenkins
User: Oleg Nenashev
Path:
src/main/java/com/cloudbees/jenkins/plugins/customtools/CustomTool.java
src/main/java/com/synopsys/arc/jenkinsci/plugins/customtools/EnvStringParseHelper.java
src/main/java/com/synopsys/arc/jenkinsci/plugins/customtools/LabelSpecifics.java
src/main/java/jenkins/plugins/customtools/util/envvars/VariablesSubstitutionHelper.java
http://jenkins-ci.org/commit/customtools-plugin/4132e0eaff8aecef68f3d3978cdcc9ab83f2eb5a
Log:
[FIXED JENKINS-24113] - Added a helper to escape property file substitutions
The commit introduces a Helper class, which is able to substitute variables for paths and property files.
Additional parsers can be added on-demand.
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>