Executing karma test cases in a maven build produces the following error:
[INFO] Executing Karma Test Suite ...
cmd /C karma start C:\.....\karma.conf.js --browsers Chrome --single-run --no-auto-watch --colors true
'karma' is not recognized as an internal or external command,
operable program or batch file.
While in the jenkins server when karma is run manually its working and test report is generated. How to get it done in jenkins build? Should i configure nodeJS or karma path anywhere in jenkins? Please help if anyone knows.