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

    • Similar Issues:

      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

          Hide
          oleg_nenashev Oleg Nenashev added a comment -
          Show
          oleg_nenashev Oleg Nenashev added a comment - Pull request: https://issues.jenkins-ci.org/browse/JENKINS-18815
          Hide
          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>

          Show
          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>
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Fixed in version 0.3

          Show
          oleg_nenashev Oleg Nenashev added a comment - Fixed in version 0.3

            People

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

              Dates

              Created:
              Updated:
              Resolved: