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

NVM wrapper hard-coded path

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Activity

          pavenova Pavel Novak created issue -
          pavenova Pavel Novak made changes -
          Field Original Value New Value
          Description 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
          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
          pavenova Pavel Novak made changes -
          Description 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
          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
          pavenova Pavel Novak made changes -
          Description 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
          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
          atoms Tomas Salazar made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          atoms Tomas Salazar made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          pavenova Pavel Novak made changes -
          Labels nvm nvm-wrapper
          atoms Tomas Salazar made changes -
          Resolution Fixed [ 1 ]
          Status In Review [ 10005 ] Resolved [ 5 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: