From 77903edce4b3e8b4fdf7c0ff601ec24b74ffe962 Mon Sep 17 00:00:00 2001 From: JulienBe Date: Mon, 17 Jul 2017 15:30:26 +0200 Subject: Introduction of the checkstyle plugin Issue: CLAMP-2 Change-Id: Ic027d6aef676feb4e69bdba291c546fedfbacc3a Signed-off-by: JulienBe --- jjb/global-macros.yaml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'jjb/global-macros.yaml') diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml index 2270f576c..454d056ef 100644 --- a/jjb/global-macros.yaml +++ b/jjb/global-macros.yaml @@ -168,6 +168,44 @@ healthy: 50 unhealthy: 40 +- publisher: + name: checkstyle-result + publishers: + - checkstyle: + pattern: '**/checkstyle-result.xml' + healthy: 0 + unhealthy: 100 + health-threshold: 'high' + thresholds: + unstable: + total-all: 30 + total-high: 15 + total-normal: 20 + total-low: 25 + new-all: 5 + new-high: 0 + new-normal: 2 + new-low: 5 + +- publisher: + name: checkstyle-result-daily + publishers: + - checkstyle: + pattern: '**/checkstyle-result.xml' + healthy: 0 + unhealthy: 100 + health-threshold: 'high' + thresholds: + unstable: + total-all: 30 + total-high: 15 + total-normal: 20 + total-low: 25 + new-all: 1 + new-high: 0 + new-normal: 1 + new-low: 1 + - publisher: name: infra-shiplogs # To archive things, the job will need to create an "archives" directory in -- cgit 1.2.3-korg