summaryrefslogtreecommitdiffstats
path: root/jjb/global-macros.yaml
diff options
context:
space:
mode:
authorJulienBe <jb379x@att.com>2017-07-17 15:30:26 +0200
committerJulienBe <jb379x@att.com>2017-07-17 15:30:53 +0200
commit77903edce4b3e8b4fdf7c0ff601ec24b74ffe962 (patch)
treed754b592a16984d9379a09833aa99c96dcc3f61b /jjb/global-macros.yaml
parent3b31ed323f50edc0e2dec03f21cea540084a53ec (diff)
Introduction of the checkstyle plugin
Issue: CLAMP-2 Change-Id: Ic027d6aef676feb4e69bdba291c546fedfbacc3a Signed-off-by: JulienBe <jb379x@att.com>
Diffstat (limited to 'jjb/global-macros.yaml')
-rw-r--r--jjb/global-macros.yaml38
1 files changed, 38 insertions, 0 deletions
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
@@ -169,6 +169,44 @@
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
# the workspace and this macro will handle copying the contents of the