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

AbsolutePaths: Home variables substitution doesn't work properly in case of leading variable

    XMLWordPrintable

Details

    Description

      Example: ${TOOLS_ROOT}/path/to/my/tool

      In case of windows, path will be interpreted as relative path. Leading "/" makes tool to install properly, but TOOL_HOME variable will be something like /C:/Tools/...

      Attachments

        Activity

          oleg_nenashev Oleg Nenashev added a comment -

          Fixed in version 0.3

          oleg_nenashev Oleg Nenashev added a comment - Fixed in version 0.3

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          src/main/java/com/cloudbees/jenkins/plugins/customtools/CustomTool.java
          src/main/java/com/cloudbees/jenkins/plugins/customtools/CustomToolInstallWrapper.java
          src/main/java/com/synopsys/arc/jenkinsci/plugins/customtools/PathsList.java
          http://jenkins-ci.org/commit/customtools-plugin/194b4e72684d4aebab0e06eb258fb93f052662d5
          Log:
          Fixed instantiation of the home variables
          Resolves https://issues.jenkins-ci.org/browse/JENKINS-18815

          Signed-off-by: Oleg Nenashev <nenashev@synopsys.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/cloudbees/jenkins/plugins/customtools/CustomToolInstallWrapper.java src/main/java/com/synopsys/arc/jenkinsci/plugins/customtools/PathsList.java http://jenkins-ci.org/commit/customtools-plugin/194b4e72684d4aebab0e06eb258fb93f052662d5 Log: Fixed instantiation of the home variables Resolves https://issues.jenkins-ci.org/browse/JENKINS-18815 Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>
          oleg_nenashev Oleg Nenashev added a comment - Pull request: https://issues.jenkins-ci.org/browse/JENKINS-18815

          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: