jasmine-node and bamboo - test failed

339 views Asked by At

I using jasmine-node for testing node app, and have integration with bamboo, but the problem is when some of the test failed bamboo reports that command jasmine-node test-name.js exits with 1 and that on bamboo job dashboard I have label testless build without reports about tests.

Also I made wrapper in node to run that command and still getting that output of executing is 1.

Can I use this wrapper for bamboo, because I'm using --junitreport flag and artifact for junit tests? Or I can setup jasmine-node to prevent throwing error if some of the test fails?

1

There are 1 answers

0
Grissom On BEST ANSWER

Just put the exit 0 at end of script in bamboo job.