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

          oleg_nenashev Oleg Nenashev created issue -
          oleg_nenashev Oleg Nenashev made changes -
          Field Original Value New Value
          Summary Home variables substitution doesn't work properly in case of leading variable AbsolutePaths: Home variables substitution doesn't work properly in case of leading variable
          oleg_nenashev Oleg Nenashev made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          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
          oleg_nenashev Oleg Nenashev made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          ircbot Jenkins IRC Bot made changes -
          Component/s custom-tools [ 17446 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 150165 ] JNJira + In-Review [ 193443 ]

            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: