]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-pull-requests-arm64: add publishers to fix ci result inaccuracy
authorRongqi Sun <sunrongqi@huawei.com>
Thu, 14 Mar 2024 09:32:27 +0000 (09:32 +0000)
committerRongqi Sun <sunrongqi@huawei.com>
Thu, 14 Mar 2024 09:32:27 +0000 (09:32 +0000)
Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
ceph-pull-requests-arm64/config/definitions/ceph-pull-requests-arm64.yml

index bd3cec612dfd96d3cf8b3c38054e423aad0100bf..ca6e4c8922661818deaaf86fc996a01ae9c69149 100644 (file)
@@ -35,7 +35,6 @@
           <autoRebuild>false</autoRebuild>
           <rebuildDisabled>false</rebuildDisabled>
           </com.sonyericsson.rebuild.RebuildSettings>
-    publishers: []
     quiet-period: '5'
     retry-count: '3'
     scm:
         failure-status: "make check failed"
         white-list-target-branches:
         - main
+    publishers:
+      - cobertura:
+          report-file: "src/pybind/mgr/dashboard/frontend/coverage/cobertura-coverage.xml"
+          only-stable: "true"
+          health-auto-update: "false"
+          stability-auto-update: "false"
+          zoom-coverage-chart: "true"
+          source-encoding: "Big5"
+          targets:
+            - files:
+                healthy: 10
+                unhealthy: 20
+                failing: 30
+            - method:
+                healthy: 10
+                unhealthy: 20
+                failing: 30
+      - postbuildscript:
+          builders:
+            - role: SLAVE
+              build-on:
+                - ABORTED
+              build-steps:
+                - shell:
+                    !include-raw:
+                      - ../../build/kill-tests
+      - xunit:
+          thresholds:
+            - failed:
+                unstable: 0
+                unstablenew: 0
+                failure: 0
+                failurenew: 0
+          types:
+            - ctest:
+                pattern: "build/Testing/**/Test.xml"
+                skip-if-no-test-files: true
     wrappers:
       - credentials-binding:
           - username-password-separated: