I have a build Plan that I want to have execute a Grunt task.
The server has Node and Grunt installed and will successfully run the Grunt task from the command line ("grunt default"). However when I add this as a Script task to Bamboo I get the following error:
'node' is not recognized as an internal or external command,
operable program or batch file.
Previously it was throwing the same error but with 'grunt' instead of 'node' but I managed to resolve this by forcing Grunt CLI to install in a previous task using 'npm'.
Bamboo is configured with a Server Capability for the Node.exe and I have installed the NodeJS Bamboo plugin.
I have also restarted the Bamboo service so that it will run under the Administrator user (which is the user I ran the successful build under) but with no luck
Has anyone any ideas how to get this resolved?
Thanks, Stuart