Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-24113

Additional Variables: Add an option to escape special symbols coming from env. variables

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            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>

            scm_issue_link SCM/JIRA link daemon added a comment - 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>

            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/54bd3a01dc1daf01e898c7cc575f0aab6a39e172
            Log:
            Merge pull request #19 from synopsys-arc-oss/JENKINS-24113

            [FIXED JENKINS-24113] - Added a helper to escape property file substitutions

            Compare: https://github.com/jenkinsci/customtools-plugin/compare/7b3245d4999a...54bd3a01dc1d

            scm_issue_link SCM/JIRA link daemon added a comment - 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/54bd3a01dc1daf01e898c7cc575f0aab6a39e172 Log: Merge pull request #19 from synopsys-arc-oss/ JENKINS-24113 [FIXED JENKINS-24113] - Added a helper to escape property file substitutions Compare: https://github.com/jenkinsci/customtools-plugin/compare/7b3245d4999a...54bd3a01dc1d

            People

              oleg_nenashev Oleg Nenashev
              oleg_nenashev Oleg Nenashev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: