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

Provide Node and NPM to Path does not work

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • nodejs-plugin
    • None
    • Jenkins 2.32.3 (LTS)
      a lot of other plugins
      NodeJS Plugin 1.1.3

    Description

      I have updated the NodeJS Plugin yesterday from version 0.2.2 to 1.1.3 on our Jenkins instance. Afterwards I upgraded Jenkins from 2.32.1 to 2.32.3.

      We have several FreeStyle jobs that are building with Node.js with the following configuration:

      • set up the path with the corresponding Node.js version, using no specific nprmrc file:

      • then have a shell execution build step running some node or npm commands, you could test with
      node -version

      After restart of Jenkins all of our jobs fail, it seems like the plugin is not able to prepare the build environment correctly.

      And here is the console output:

       

      Attachments

        Issue Links

          Activity

            krulls Stephan Krull created issue -
            krulls Stephan Krull made changes -
            Field Original Value New Value
            Attachment image-2017-03-28-11-09-14-187.png [ 36800 ]
            krulls Stephan Krull made changes -
            Description I have updated the NodeJS Plugin yesterday from version 0.2.2 to 1.1.3 on our Jenkins instance. Afterwards I upgraded Jenkins from 2.32.1 to 2.32.3.

            We have several FreeStyle jobs that are building with Node.js with the following configuration:
             * set up the path with the corresponding Node.js version, using no specific nprmrc file:

            !Screenshot from 2017-03-28 10-45-41.png!
             * then have a shell execution build step running some node or npm commands, you could test with

            {code:java}
            node -version{code}

            After restart of Jenkins all of our jobs fail, it seems like the plugin is not able to prepare the build environment correctly.

             

             

             

             
            I have updated the NodeJS Plugin yesterday from version 0.2.2 to 1.1.3 on our Jenkins instance. Afterwards I upgraded Jenkins from 2.32.1 to 2.32.3.

            We have several FreeStyle jobs that are building with Node.js with the following configuration:
             * set up the path with the corresponding Node.js version, using no specific nprmrc file:

            !Screenshot from 2017-03-28 10-45-41.png!
             * then have a shell execution build step running some node or npm commands, you could test with

            {code:java}
            node -version{code}
            After restart of Jenkins all of our jobs fail, it seems like the plugin is not able to prepare the build environment correctly.

            And here is the console output:

            !image-2017-03-28-11-09-14-187.png!

             
            nfalco Nikolas Falco made changes -
            Link This issue duplicates JENKINS-27170 [ JENKINS-27170 ]
            nfalco Nikolas Falco made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]

            People

              nfalco Nikolas Falco
              krulls Stephan Krull
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: