Add coverage support 95/29195/1
authorJulien <zhang.jun3g@zte.com.cn>
Wed, 22 Feb 2017 06:12:46 +0000 (14:12 +0800)
committerJulien <zhang.jun3g@zte.com.cn>
Wed, 22 Feb 2017 06:13:36 +0000 (14:13 +0800)
Add publish-coverage macro and used in qtip

JIRA:QTIP-204

Change-Id: Ic0a0ca5f082bcaf10074b6312debd8549f99d065
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
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