Hi All I am running a docker image of jenkins. I have installed my plugin node js and named the tool node.
I tried writing a pipeline like below but it keeps telling me : Does anyone know how tor esolve this? Unpacking https://nodejs.org/dist/v11.13.0/node-v11.13.0-linux-x64.tar.gz to /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/node on Jenkins[Pipeline] sh <http://35.163.48.222:8080/job/node-app/25/console#>+ npm --version env: ‘node’: No such file or directory[Pipeline] }[Pipeline] // node[Pipeline] End of Pipeline node { env.NODEJS_HOME = "${tool 'node'}" env.PATH="${env.NODEJS_HOME}/bin:${env.PATH}" sh 'npm --version' } -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAJi3E4T_JmLqRKTNCc08hAXqjMhiW-O0DP2WM5nqByt3mCjFag%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
