]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix for GitLab 15.0: cobertura replaced by coverage_report
authorMark Andrews <marka@isc.org>
Mon, 4 Jul 2022 03:32:01 +0000 (13:32 +1000)
committerMark Andrews <marka@isc.org>
Mon, 4 Jul 2022 03:52:30 +0000 (13:52 +1000)
   From Gitlab 15.0 release notes:

   artifacts:reports:cobertura keyword

   As of GitLab 15.0, the artifacts:reports:cobertura keyword has
   been replaced by artifacts:reports:coverage_report. Cobertura
   is the only supported report file, but this is the first step
   towards GitLab supporting other report types.

.gitlab-ci.yml

index d0555a626b89de1642ed9b5c60eeec51d5f8022e..39eaaca0fb4a4c519af43996daa4512ead8a58fc 100644 (file)
@@ -1460,7 +1460,9 @@ gcov:
       - coverage.txt
       - coverage.xml
     reports:
-      cobertura: coverage.xml
+      coverage_report:
+        coverage_format: cobertura
+        path: coverage.xml
 
 # Pairwise testing of ./configure options