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

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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • customtools-plugin
    • None

      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/...

          [JENKINS-18815] AbsolutePaths: Home variables substitution doesn't work properly in case of leading variable

          Oleg Nenashev added a comment -

          Oleg Nenashev added a comment - Pull request: https://issues.jenkins-ci.org/browse/JENKINS-18815

          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/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 added a comment -

          Fixed in version 0.3

          Oleg Nenashev added a comment - Fixed in version 0.3

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

              Created:
              Updated:
              Resolved: