Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NodeJS installation to jenkins : npm not found

Maybe someone can tell me what I missed installing nodeJS to jenkins, because when I want to execute shell script npm update I get error npm: not found.

I installed jenkins nodejs plugin then added installer: enter image description here

After I created job with prams:

enter image description here

What I need to do more, to have accessible npm in any jenkins job?

like image 591
Edgar Avatar asked Oct 30 '22 20:10

Edgar


1 Answers

It works for me. The only difference is that where you have a text box that reads "0.12.7", I have a popup menu that reads "Node.js 0.12.7". Maybe something has gone wrong and you should delete the installer and add it back?

like image 63
sti Avatar answered Nov 15 '22 04:11

sti