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

NodeJS Plugin - v1.1.2 - Not setting the PATH for the node versions installed on Freestyle type projects

    Details

    • Similar Issues:

      Description

      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. 

       

       

        Attachments

          Issue Links

            Activity

            Hide
            nfalco Nikolas Falco added a comment -
            Show
            nfalco Nikolas Falco added a comment - Please have a look to JENKINS-42323 , JENKINS-41762 , JENKINS-27170 , JENKINS-42323

              People

              • Assignee:
                Unassigned
                Reporter:
                alexleone Alex Leone
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: