[AZURE]Include Integration test generated report in Gitlab pipeline view for Azure
Current problem: The MR is to get views from different stakeholders. In case of failure of Azure integration tests we need to manually go ahead scroll logs to see which tests have failed. There is no view provided in Gitlab to directly see the failed report.
Solution Gitlab inherently provide support for maven surefire plugin, where it will parse the report and generate the view. The code change to support this is done in this MR.
Please find the same view below: https://community.opengroup.org/ankitsharma/legal/-/pipelines/20923/test_report
Testing
The code has been tested in personal repo by doing changes to forked CI CD pipeline. Please find the pipeline links below:
- https://community.opengroup.org/ankitsharma/legal/-/pipelines/23990
- https://community.opengroup.org/ankitsharma/legal/-/pipelines/23969
Further suggestion
- It should be done for all the Unit test cases as well and should be available for all the cloud providers by default.
Code changes needs to be done at: https://community.opengroup.org/osdu/platform/ci-cd-pipelines/-/blob/master/build/maven.yml
NOTE: For python projects we skip this in when condition of below code.