Merge "Add coverage support"
authorSerena Feng <feng.xiaowei@zte.com.cn>
Thu, 23 Feb 2017 06:22:08 +0000 (06:22 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Thu, 23 Feb 2017 06:22:08 +0000 (06:22 +0000)
jjb/global/releng-macros.yml
jjb/qtip/qtip-verify-jobs.yml

index d5eb0c9..c245ee8 100644 (file)
             allow-empty: true
             fingerprint: true
             latest-only: true
+
+- publisher:
+    name: publish-coverage
+    publishers:
+      - cobertura:
+          report-file: "coverage.xml"
+          only-stable: "true"
+          health-auto-update: "true"
+          stability-auto-update: "true"
+          zoom-coverage-chart: "true"
+          targets:
+            - files:
+                healthy: 10
+                unhealthy: 20
+                failing: 30
+            - method:
+                healthy: 50
+                unhealthy: 40
+                failing: 30
+
index d1fc34d..3cb331c 100644 (file)
@@ -55,6 +55,8 @@
 
     builders:
         - qtip-unit-tests-and-docs-build
+    publisher:
+        - 'publish-coverage'
 
 ################################
 ## job builders