title: Jenkins build fails when running nodeJS
body: <p>I have Jenkins set up on a machine with the NodeJS plugin. Sadly, whenever I try to use the plugin in a build, it fails with:</p>
  
  <pre><code>[workspace] $ node /tmp/hudson3477900862350780409.js
  FATAL: command execution failed
  java.io.IOException: Cannot run program "node" (in directory          
  "/var/lib/jenkins/jobs/XXX/workspace"): error=2, No such file or directory
  </code></pre>
  
  <p>When I log into the machine as the jenkins user, I can use node through command line. I also added the path to node (<code>/opt/node-0.6.18/bin</code>) into the Configuration screen for the current working node (which is only one: master).</p>
  
  <p>I've been stuck with this for a while, any help would be highly appreciated.</p>
  
  <p>Cheers!</p>