How to resolve grunt not recognizable error on jenkins whereas Grunt is running in command prompt?
Jenkins output:
test cases will be executed
'grunt' is not recognized as an internal or external command, operable program or batch file.
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE
Most probably if the
grunt-clipackage is installed globally, you do not have the executable path added to system's PATH variable.Or in the case when you do not have the package installed,
npm install -g grunt-cliin windows shell.