Introduction of the checkstyle plugin

Issue: CLAMP-2
Change-Id: Ic027d6aef676feb4e69bdba291c546fedfbacc3a
Signed-off-by: JulienBe <jb379x@att.com>
diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml
index 2270f57..454d056 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