-
Bug
-
Resolution: Fixed
-
Minor
The following pipeline does not work, as NodeJSInstallation seems not to add node and npm to the classpath.
pipeline { tools { "jenkins.plugins.nodejs.tools.NodeJSInstallation" "NodeJS_0.10.33" } agent any stages { stage ('test') { steps { sh "node --version" sh "npm --version" } } } }
- is duplicated by
-
JENKINS-41721 NodeJS Plugin fails when using the pipeline
-
- Closed
-
- relates to
-
JENKINS-40555 Add a @Symbol for Custom Tools and populate environment
-
- Open
-
Code changed in jenkins
User: imod
Path:
.gitignore
pom.xml
src/main/java/jenkins/plugins/nodejs/tools/NodeJSInstallation.java
http://jenkins-ci.org/commit/nodejs-plugin/be52194cef302939c52c7cae74fa45f25ca66588
Log:
JENKINS-40624add @Symbol(“nodejs”) and populate environment