-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
Official Jenkins Docker - version 2.3 (Alpine)
Plugins:
- NodeJS 0.2.1
- Pipeline 2.1
Browser: Chrome 50.0.2661
Added NodeJS Tool 6.1.0 as "Install from nodejs.org"
When attempting to add the tool to a pipeline with automatic installation of NPM modules the following error occurred:
Unpacking https://nodejs.org/dist/v6.1.0/node-v6.1.0-linux-x64.tar.gz to /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/node-6.1.0 on Jenkins
$ /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/node-6.1.0/bin/npm install -g grunt-cli bower
env: can't execute 'node': No such file or directory
I can confirm this behaviour.
My workaround is, to add a Build-step "Execute shell" to each needed Jenkins-Job, as soon as possible in the build-pipeline, containing