-
Bug
-
Resolution: Fixed
-
Major
-
nvm-wrapper-plugin v0.1.2
Jenkins 2.46.3
This was probably introduced in JENKINS-40268
Now if no `NVM_NODEJS_ORG_MIRROR` is set (none should be set or needed by default) the value `null` causes all installs and builds to fail, even if the correct version is already installed.
Relevant console output log:
[etx8-web] $ bash -c "export > before.env" [etx8-web] $ bash -c "source /home/jenkins/.nvm/nvm.sh && NVM_NODEJS_ORG_MIRROR=null nvm install 6.9.1 && nvm use 6.9.1 && export > nvm.env" Version '6.9.1' not found - try `nvm ls-remote` to browse available versions. $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 19849 killed; [ssh-agent] Stopped. ERROR: Failed to fork bash Archiving artifacts Finished: FAILURE
To avoid the problem I think I will have to manually set the environment variable in all of my builds that use the NVM wrapper.
- mentioned in
-
Page Loading...