Marton Greber has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/22713 )
Change subject: Gcovr support with coverage post-processing ...................................................................... Gcovr support with coverage post-processing Extended the build-and-test.sh script to parameterize the existing gcovr coverage generation step, enabling it to run in Jenkins. Due to Ubuntu 18 requiring an older version of gcovr with some limitations, a Python script was added to: - Convert absolute links in the HTML report to relative ones (required for Jenkins compatibility) - Extract and move inline CSS to a separate stylesheet (due to Jenkins CSP restrictions) These changes allow Jenkins to archive and display the C++ coverage report under: https://jenkins.kudu.apache.org/ -> "coverage C++" -> -> "Coverage Report" (left panel) The 'HTML Publisher' plugin collects the defined HTML directory for archiving and browser-based inspection. Follow-up patch: Once this patch is merged, we can remove the Jenkins job's dependency on my fork, point it to upstream master, and submit the pipeline job to the Kudu repo. Change-Id: I9d08cbb03234ec97cda985a35ac1b10a5d28ca20 Reviewed-on: http://gerrit.cloudera.org:8080/22713 Tested-by: Kudu Jenkins Reviewed-by: Alexey Serbin <[email protected]> Reviewed-by: Abhishek Chennaka <[email protected]> --- M build-support/jenkins/build-and-test.sh A build-support/process_gcovr_report.py 2 files changed, 151 insertions(+), 4 deletions(-) Approvals: Kudu Jenkins: Verified Alexey Serbin: Looks good to me, approved Abhishek Chennaka: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/22713 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I9d08cbb03234ec97cda985a35ac1b10a5d28ca20 Gerrit-Change-Number: 22713 Gerrit-PatchSet: 5 Gerrit-Owner: Marton Greber <[email protected]> Gerrit-Reviewer: Abhishek Chennaka <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Marton Greber <[email protected]> Gerrit-Reviewer: Zoltan Chovan <[email protected]> Gerrit-Reviewer: Zoltan Martonka <[email protected]>
