• 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 made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Pavel Novak made changes -
          Labels New: nvm nvm-wrapper
          Tomas Salazar made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: