From 17b2e2950dab71873bde18c8d6ead6267176780c Mon Sep 17 00:00:00 2001 From: Julien Date: Wed, 22 Feb 2017 14:12:46 +0800 Subject: Add coverage support Add publish-coverage macro and used in qtip JIRA:QTIP-204 Change-Id: Ic0a0ca5f082bcaf10074b6312debd8549f99d065 Signed-off-by: Julien --- jjb/global/releng-macros.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'jjb/global') 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 + -- cgit 1.2.3-korg