-
Bug
-
Resolution: Duplicate
-
Minor
Version 1.1.2 is no longer setting the PATH in the workspace shell. The groovy API is working when using the following groovy:
nodejs(nodeJSInstallationName: 'nodejs-4.7.3') { sh 'node --version' // outputs 4.7.3 }
But when using the checkbox "Provide Node & npm bin/ folder to PATH" in a Freestyle project it is not setting the PATH to node and npm to the workspace.
It seems like some of the previous updates to make the PATH for the pipeline work may have broke the PATH for the Freestyle projects.
- duplicates
-
JENKINS-27170 "Provide Node & npm bin/ folder to PATH" not working for "npm install"
- Closed