• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • nvm-wrapper-plugin
    • None

      scurrilous

       
      I think JENKINS-40268 introduced a regression. It now uses System.getProperty("user.home") instead of "~" for the home directory, which causes the home directory of the Jenkins master to be used instead of the Jenkins slave. For example, I get:

      $ bash -c "source /var/lib/jenkins/.nvm/nvm.sh && NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist nvm install v7.8.0 && nvm use v7.8.0 && export > nvm.env"
      bash: /var/lib/jenkins/.nvm/nvm.sh: No such file or directory
      

      When my slave home directory is actually /home/jenkins.

          [JENKINS-45784] Home Directory it's wrong on slaves

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: atomsfat Path: build.gradle http://jenkins-ci.org/commit/nvm-wrapper-plugin/abf6dc8a49b4e2ec0981b69f5234f1038e186ca1 Log: 0.1.4 Solves https://issues.jenkins-ci.org/browse/JENKINS-45784

          Tomas Salazar added a comment -

          Solved in version 0.1.4

          Tomas Salazar added a comment - Solved in version 0.1.4

            atoms Tomas Salazar
            atoms Tomas Salazar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: