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

      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:

       

          [JENKINS-43156] Provide Node and NPM to Path does not work

          Stephan Krull created issue -
          Stephan Krull made changes -
          Attachment New: image-2017-03-28-11-09-14-187.png [ 36800 ]
          Stephan Krull made changes -
          Description Original: 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.

           

           

           

           
          New: 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!

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

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

              Created:
              Updated:
              Resolved: