Using Code Climate for Test Coverage alongside Jenkins
The issue has been resolved.
This is for nodejs

Need to install necessary dependencies either using yarn or npm.
Once done, run 

nyc --reporter=lcov yarn unit unit
$ ./cc-test-reporter after-build -t lcov --exit-code $?