Details

    • Similar Issues:

      Description

      Build step fails when using exact syntax as the NodeJS plugin wiki page at https://plugins.jenkins.io/nodejs

      tools {
       nodejs 'name'
       }
      

      sh 'npm install' is called the output from Jenkins the result is:

       + npm install 
       env: 'node': No such file or directory 
       script returned exit code 127
      

      Docker exec on npm produces the exact same error:

       /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/node/bin/npm
       env: 'node': No such file or directory
      

        Attachments

          Issue Links

            Activity

            whytoe Dan Woytowich created issue -
            whytoe Dan Woytowich made changes -
            Field Original Value New Value
            Description Build step fails when using exact syntax as the NodeJS plugin wiki page at [https://plugins.jenkins.io/nodejs]

            tools \{
             nodejs 'version_name'
             }

            sh 'npm install' is called the output from Jenkins the result is:
             + npm install
             env: 'node': No such file or directory
             script returned exit code 127
              
             Docker exec on npm produces the exact same error:
             /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/node/bin/npm
             env: 'node': No such file or directory
              
            Build step fails when using exact syntax as the NodeJS plugin wiki page at [https://plugins.jenkins.io/nodejs]

            tools \{
             nodejs 'name'
             }

            sh 'npm install' is called the output from Jenkins the result is:
             + npm install
             env: 'node': No such file or directory
             script returned exit code 127
              
             Docker exec on npm produces the exact same error:
             /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/node/bin/npm
             env: 'node': No such file or directory
              
            nfalco Nikolas Falco made changes -
            Link This issue duplicates JENKINS-27170 [ JENKINS-27170 ]
            nfalco Nikolas Falco made changes -
            Status Open [ 1 ] Closed [ 6 ]
            Resolution Fixed [ 1 ]
            nfalco Nikolas Falco made changes -
            Link This issue depends on JENKINS-26583 [ JENKINS-26583 ]
            nfalco Nikolas Falco made changes -
            Resolution Fixed [ 1 ]
            Status Closed [ 6 ] Reopened [ 4 ]
            nfalco Nikolas Falco made changes -
            Status Reopened [ 4 ] Open [ 1 ]
            nfalco Nikolas Falco made changes -
            Status Open [ 1 ] Closed [ 6 ]
            Resolution Duplicate [ 3 ]
            nfalco Nikolas Falco made changes -
            Description Build step fails when using exact syntax as the NodeJS plugin wiki page at [https://plugins.jenkins.io/nodejs]

            tools \{
             nodejs 'name'
             }

            sh 'npm install' is called the output from Jenkins the result is:
             + npm install
             env: 'node': No such file or directory
             script returned exit code 127
              
             Docker exec on npm produces the exact same error:
             /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/node/bin/npm
             env: 'node': No such file or directory
              
            Build step fails when using exact syntax as the NodeJS plugin wiki page at [https://plugins.jenkins.io/nodejs]
            {code}
            tools {
             nodejs 'name'
             }
            {code}

            sh 'npm install' is called the output from Jenkins the result is:
            {code}
             + npm install
             env: 'node': No such file or directory
             script returned exit code 127
            {code}

             Docker exec on npm produces the exact same error:
            {noformat}
             /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/node/bin/npm
             env: 'node': No such file or directory
            {noformat}
            nfalco Nikolas Falco made changes -
            Link This issue is duplicated by JENKINS-44091 [ JENKINS-44091 ]
            mrmarc Marc Smith made changes -
            Resolution Duplicate [ 3 ]
            Status Closed [ 6 ] Reopened [ 4 ]
            nfalco Nikolas Falco made changes -
            Attachment screenshot-1.png [ 45152 ]
            nfalco Nikolas Falco made changes -
            Status Reopened [ 4 ] Closed [ 6 ]
            Resolution Won't Fix [ 2 ]

              People

              • Assignee:
                nfalco Nikolas Falco
                Reporter:
                whytoe Dan Woytowich
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: