I have a Bamboo job for mulesoft code, with steps as code checkout, build, test which generates coverage report, deploy.
Test step is failing with message 'Failing task since test cases were expected but none were found.' and coverage report is generated in specific path.
When I remove the specific path, job is success but coverage is not generated.
I tried enabling 'maven return code', which makes the job success, but can't see coverage report.
1. Give the path **/target/*, enable maven return code - job success, coverage not generated
2. Give the path **/target/*, disable maven return code - job failed, coverage generated