I've set up a Gruntfile with mocha testing and JSlint. This works fine if i just run grunt form the terminal.

I want to run grunt from Jenkins!

I set up a new job -> and made built to a shell script and included:

```
/usr/local/bin/grunt

```

Once I run the job the terminal output of Jenkins says:

```
[workspace] $ /bin/sh -xe /tmp/hudson8550584576040162032.sh
+ /usr/local/bin/grunt
/usr/bin/env: node: No such file or directory
Build step 'Execute shell' marked build as failure
Finished: FAILURE

```

it seems it cant fine node binary!?! but node is installed and runs fine in the terminal!

All my binaries (mocha, grunt, node) are in /usr/local/bin/

Does anyone know what the issue is? Or maybe someone has a link to set up grunt.js with jenkins?

Somebody got something?

Thx