Prashanth Sams
Prashanth Sams

Reputation: 21129

Unable to install NodeJS in Jenkins on runtime

Configured NodeJS in Globally

enter image description here

On runtime, it display, "node command not found ..."

enter image description here

Upvotes: 3

Views: 2397

Answers (2)

Oleg Nenashev
Oleg Nenashev

Reputation: 2291

There is no Node.JS installation entries in your build log. Most likely you have not configured Node.JS installation in the Build Environment section. In your config the tool is defined with the "4.2.3" name. Jenkins' Node.JS plugin does not use a single specification as a default one, hence it just falls back to a tool from the environment.

Screenshot from the Wiki page

Upvotes: 1

Prashanth Sams
Prashanth Sams

Reputation: 21129

I've used a temporary fix for this in my MAC machine; but really expecting an apt answer for this.


Here is the temporary fix,

Setup temporary environment for node in Execute shell

export PATH=/usr/local/bin:$PATH

enter image description here

Upvotes: 0

Related Questions