-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
Hi there,
after trying out a lot of solutions now I want to raise my question here, since I still have no clue, if it is possible to solve my problem.
I have a freestyle project configured which is using an SAP internal build tool to create a cloud application. This internal build tool uses maven to build the Java parts of our application. This Java application also includes unittests, which are due to pom-file configuration executed automatically on every build run. If everything is successfully executed we run the sonar scan on the project and export all results into sonar.
But if one the unittests fails the Windows Power Shell step that runs the SAP tool fails and after that the Execute Sonar Scanner task is not run anymore. Setting the pom file to continue even if unittests fail helps, but then we are never able to show failed unittests in the sonar dashboard.
Is there a possibility to continue with the Windows Power Shell even on failure?
Thank You,
Andre
I am stupid -solved it shortly after writing about it.