• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • nvm-wrapper-plugin
    • irelevant
      Jenkins ver. 2.89.3
      NVM wrapper 0.1.4

      Once there is nvm installed on the machine, plugin dont inherit and dont respect NVM settings.

      Our case:

      • having NVM at /data/jenkins-misc/nvm/ (same as NVM_DIR system property targets)
      • when using and configure wrapper plugin, all data are generated at jenkins user home- in our case /var/lib/jenkins.nvm (default path)

      Problem is over at following file line (NvmWrapperUtil.java), because there is hardcoded path

      https://github.com/jenkinsci/nvm-wrapper-plugin/blob/97093d1b19467b015565512317d065dc5e752ef7/src/main/java/org/jenkinsci/plugins/nvm/NvmWrapperUtil.java#L21

      Note- because path is hardcoded, it is not possible to override it anyway

      Kindly, please, any possibility to fix this?

      We are started to having serious problem with the free space, because when *.*nvm directory is symlink-ed, than plugin also dont works.

      Thanks in advance

      • Otherwise, if there is any way to solve that, or info who and how to contact, I will appreciate

          [JENKINS-49720] NVM wrapper hard-coded path

          Pavel Novak created issue -
          Pavel Novak made changes -
          Description Original: Once there is nvm installed on the machine, plugin dont inherit and dont respect NVM settings.

          Our case:
           * having NVM at _/data/jenkins-misc/nvm/_ (same as NVM_DIR system property targets)
           * when using and configure wrapper plugin, all data are generated at jenkins user home- in our case _/var/lib/jenkins.nvm (default path)_

          _Problem is over at following file line (NvmWrapperUtil.java), because there is hardcoded path_

          [https://github.com/jenkinsci/nvm-wrapper-plugin/blob/97093d1b19467b015565512317d065dc5e752ef7/src/main/java/org/jenkinsci/plugins/nvm/NvmWrapperUtil.java#L21]

          Kindly, please, any possibility to fix this?

          We are started to having serious problem with the free space, because when _*.*nvm_ directory is symlink-ed, than plugin also dont works.

          Thanks in advance
          New: Once there is nvm installed on the machine, plugin dont inherit and dont respect NVM settings.

          Our case:
           * having NVM at _/data/jenkins-misc/nvm/_ (same as *NVM_DIR* system property targets)
           * when using and configure wrapper plugin, all data are generated at jenkins user home- in our case _/var/lib/jenkins.nvm (default path)_

          _Problem is over at following file line (NvmWrapperUtil.java), because there is hardcoded path_

          [https://github.com/jenkinsci/nvm-wrapper-plugin/blob/97093d1b19467b015565512317d065dc5e752ef7/src/main/java/org/jenkinsci/plugins/nvm/NvmWrapperUtil.java#L21]

          Kindly, please, any possibility to fix this?

          We are started to having serious problem with the free space, because when _*.*nvm_ directory is symlink-ed, than plugin also dont works.

          Thanks in advance
          Pavel Novak made changes -
          Description Original: Once there is nvm installed on the machine, plugin dont inherit and dont respect NVM settings.

          Our case:
           * having NVM at _/data/jenkins-misc/nvm/_ (same as *NVM_DIR* system property targets)
           * when using and configure wrapper plugin, all data are generated at jenkins user home- in our case _/var/lib/jenkins.nvm (default path)_

          _Problem is over at following file line (NvmWrapperUtil.java), because there is hardcoded path_

          [https://github.com/jenkinsci/nvm-wrapper-plugin/blob/97093d1b19467b015565512317d065dc5e752ef7/src/main/java/org/jenkinsci/plugins/nvm/NvmWrapperUtil.java#L21]

          Kindly, please, any possibility to fix this?

          We are started to having serious problem with the free space, because when _*.*nvm_ directory is symlink-ed, than plugin also dont works.

          Thanks in advance
          New: Once there is nvm installed on the machine, plugin dont inherit and dont respect NVM settings.

          Our case:
           * having NVM at _/data/jenkins-misc/nvm/_ (same as *NVM_DIR* system property targets)
           * when using and configure wrapper plugin, all data are generated at jenkins user home- in our case _/var/lib/jenkins.nvm (default path)_

          _Problem is over at following file line (NvmWrapperUtil.java), because there is hardcoded path_

          [https://github.com/jenkinsci/nvm-wrapper-plugin/blob/97093d1b19467b015565512317d065dc5e752ef7/src/main/java/org/jenkinsci/plugins/nvm/NvmWrapperUtil.java#L21]

          Kindly, please, any possibility to fix this?

          We are started to having serious problem with the free space, because when _*.*nvm_ directory is symlink-ed, than plugin also dont works.

          Thanks in advance

          - Otherwise, if there is any way to solve that, or info who and how to contact, I will appreciate
          Pavel Novak made changes -
          Description Original: Once there is nvm installed on the machine, plugin dont inherit and dont respect NVM settings.

          Our case:
           * having NVM at _/data/jenkins-misc/nvm/_ (same as *NVM_DIR* system property targets)
           * when using and configure wrapper plugin, all data are generated at jenkins user home- in our case _/var/lib/jenkins.nvm (default path)_

          _Problem is over at following file line (NvmWrapperUtil.java), because there is hardcoded path_

          [https://github.com/jenkinsci/nvm-wrapper-plugin/blob/97093d1b19467b015565512317d065dc5e752ef7/src/main/java/org/jenkinsci/plugins/nvm/NvmWrapperUtil.java#L21]

          Kindly, please, any possibility to fix this?

          We are started to having serious problem with the free space, because when _*.*nvm_ directory is symlink-ed, than plugin also dont works.

          Thanks in advance

          - Otherwise, if there is any way to solve that, or info who and how to contact, I will appreciate
          New: Once there is nvm installed on the machine, plugin dont inherit and dont respect NVM settings.

          Our case:
           * having NVM at _/data/jenkins-misc/nvm/_ (same as *NVM_DIR* system property targets)
           * when using and configure wrapper plugin, all data are generated at jenkins user home- in our case _/var/lib/jenkins.nvm (default path)_

          _Problem is over at following file line (NvmWrapperUtil.java), because there is hardcoded path_

          [https://github.com/jenkinsci/nvm-wrapper-plugin/blob/97093d1b19467b015565512317d065dc5e752ef7/src/main/java/org/jenkinsci/plugins/nvm/NvmWrapperUtil.java#L21]

          Note- because path is hardcoded, it is not possible to override it anyway

          Kindly, please, any possibility to fix this?

          We are started to having serious problem with the free space, because when _*.*nvm_ directory is symlink-ed, than plugin also dont works.

          Thanks in advance
           - Otherwise, if there is any way to solve that, or info who and how to contact, I will appreciate
          Tomas Salazar made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Tomas Salazar added a comment -

          How do you set *NVM_DIR*property ?

          Tomas Salazar added a comment - How do you set *NVM_DIR*property ?

          Pavel Novak added a comment -

          Hi Tomas,

          • it is available nvm.env file, and it is also set as a system env variable
          • it comes from nvm install script, so its defined during nvm instalation

          Pavel Novak added a comment - Hi Tomas, it is available nvm.env file, and it is also set as a system env variable it comes from nvm install script, so its defined during nvm instalation

          Tomas Salazar added a comment -

          Thank, I know what is happening working on it to fix.

          Tomas Salazar added a comment - Thank, I know what is happening working on it to fix.

          Pavel Novak added a comment -

          Thank you very much,
          I appreciate it

          Pavel Novak added a comment - Thank you very much, I appreciate it

          Pavel Novak added a comment -

          Hi Tomas,
          please, are you able to provide some approximate estimate time, when we can expect the fix implementation?

          Thanks in advance
          @atoms 

           

          Pavel Novak added a comment - Hi Tomas, please, are you able to provide some approximate estimate time, when we can expect the fix implementation? Thanks in advance @ atoms    

            atoms Tomas Salazar
            pavenova Pavel Novak
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: