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

NodeJS plugin - NodeJS installation not working correctly

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • nodejs-plugin
    • Unix Slave
      java.version:- 1.8.0_144
      os.name:- Linux
      os.version:- 3.13.0-135-generic
      PATH:- /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
      PWD:- /root
      SHELL:- /bin/bash

      NodeJS plugin doesn't install version specified on Slave

      Job Configuration

      Job Console Output

      NodeJS Plugin Config

        1. NodeJSInstall.PNG
          NodeJSInstall.PNG
          117 kB
        2. NodeJSJobConfig.PNG
          NodeJSJobConfig.PNG
          21 kB
        3. NodeJSPlugin.PNG
          NodeJSPlugin.PNG
          30 kB

          [JENKINS-53463] NodeJS plugin - NodeJS installation not working correctly

          Nikolas Falco added a comment - - edited

          This happens because you have already a NodeJS installed in the machine and its bin path is before that one contributed by the plugin in the PATH variable. The only way is to uninstall embedded NodeJS installation, because by design any tool path is always append at the end to the system PATH variable.

          Nikolas Falco added a comment - - edited This happens because you have already a NodeJS installed in the machine and its bin path is before that one contributed by the plugin in the PATH variable. The only way is to uninstall embedded NodeJS installation, because by design any tool path is always append at the end to the system PATH variable.

          Matthew Finn added a comment -

          Perfect thanks nfalco

          I was thinking it was something along those lines alright

          Matthew Finn added a comment - Perfect thanks nfalco I was thinking it was something along those lines alright

            nfalco Nikolas Falco
            matt_finn Matthew Finn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: