summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerena Feng <feng.xiaowei@zte.com.cn>2017-02-23 06:22:08 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-23 06:22:08 +0000
commit63ccc977c5350addf6d264917ec31f33781721df (patch)
treef0bdb353cc755a3df56236557fc292d020255905
parent73ee35ddcae316bb14a219935a1225d4a59f08c8 (diff)
parent17b2e2950dab71873bde18c8d6ead6267176780c (diff)
Merge "Add coverage support"
-rw-r--r--jjb/global/releng-macros.yml20
-rw-r--r--jjb/qtip/qtip-verify-jobs.yml2
2 files changed, 22 insertions, 0 deletions
diff --git a/jjb/global/releng-macros.yml b/jjb/global/releng-macros.yml
index d5eb0c974..c245ee813 100644
--- a/jjb/global/releng-macros.yml
+++ b/jjb/global/releng-macros.yml
@@ -459,3 +459,23 @@
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
+
diff --git a/jjb/qtip/qtip-verify-jobs.yml b/jjb/qtip/qtip-verify-jobs.yml
index d1fc34d11..3cb331c1f 100644
--- a/jjb/qtip/qtip-verify-jobs.yml
+++ b/jjb/qtip/qtip-verify-jobs.yml
@@ -55,6 +55,8 @@
builders:
- qtip-unit-tests-and-docs-build
+ publisher:
+ - 'publish-coverage'
################################
## job builders