Adding support of checkstyle for vpp 33/2233/4
authorEd Warnicke <eaw@cisco.com>
Fri, 5 Aug 2016 18:16:51 +0000 (11:16 -0700)
committerEd Warnicke <hagbard@gmail.com>
Fri, 5 Aug 2016 20:01:40 +0000 (20:01 +0000)
Change-Id: Ia5398ea7a6b6ba598d30c77556d8fbe992a2ed47
Signed-off-by: Ed Warnicke <eaw@cisco.com>
jjb/vpp/include-raw-vpp-checkstyle.sh [new file with mode: 0644]
jjb/vpp/vpp.yaml

diff --git a/jjb/vpp/include-raw-vpp-checkstyle.sh b/jjb/vpp/include-raw-vpp-checkstyle.sh
new file mode 100644 (file)
index 0000000..593fb77
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+if [ -f build-root/scripts/checkstyle.sh ];then
+    build-root/scripts/checkstyle.sh
+else
+    echo "Cannot find cat build-root/scripts/checkstyle.sh - skipping checkstyle"
+fi
\ No newline at end of file
index 34ea563..50bb72d 100644 (file)
@@ -87,6 +87,8 @@
             branch: '{branch}'
 
     builders:
+        - shell:
+            !include-raw-escape: include-raw-vpp-checkstyle.sh
         - shell:
             !include-raw-escape: include-raw-vpp-build.sh
 
                 notbuilt: true
 
     builders:
+        - shell:
+            !include-raw-escape: include-raw-vpp-checkstyle.sh
         - shell:
             !include-raw-escape: include-raw-vpp-build.sh
 
             branch: '{branch}'
 
     builders:
+        - shell:
+            !include-raw-escape: include-raw-vpp-checkstyle.sh
         - shell:
             !include-raw-escape: include-raw-vpp-build.sh
         - maven-target: