Reputation: 21129
Configured NodeJS in Globally
On runtime, it display, "node command not found ..."
Upvotes: 3
Views: 2397
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.
Upvotes: 1
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
Upvotes: 0