summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorEd Warnicke <eaw@cisco.com>2016-08-05 11:16:51 -0700
committerEd Warnicke <hagbard@gmail.com>2016-08-05 20:01:40 +0000
commit7470f7a64237a5368cc5bcef75db8022b8871151 (patch)
tree19ebc7a280cffddd6225ae077a630f4c29350e3e /jjb
parent21943e45bce231535dcaaf83f835213a4fd04824 (diff)
Adding support of checkstyle for vpp
Change-Id: Ia5398ea7a6b6ba598d30c77556d8fbe992a2ed47 Signed-off-by: Ed Warnicke <eaw@cisco.com>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/vpp/include-raw-vpp-checkstyle.sh7
-rw-r--r--jjb/vpp/vpp.yaml6
2 files changed, 13 insertions, 0 deletions
diff --git a/jjb/vpp/include-raw-vpp-checkstyle.sh b/jjb/vpp/include-raw-vpp-checkstyle.sh
new file mode 100644
index 000000000..593fb777e
--- /dev/null
+++ b/jjb/vpp/include-raw-vpp-checkstyle.sh
@@ -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
diff --git a/jjb/vpp/vpp.yaml b/jjb/vpp/vpp.yaml
index 34ea563db..50bb72d90 100644
--- a/jjb/vpp/vpp.yaml
+++ b/jjb/vpp/vpp.yaml
@@ -88,6 +88,8 @@
builders:
- shell:
+ !include-raw-escape: include-raw-vpp-checkstyle.sh
+ - shell:
!include-raw-escape: include-raw-vpp-build.sh
- job-template:
@@ -142,6 +144,8 @@
builders:
- shell:
+ !include-raw-escape: include-raw-vpp-checkstyle.sh
+ - shell:
!include-raw-escape: include-raw-vpp-build.sh
- job-template:
@@ -186,6 +190,8 @@
builders:
- shell:
+ !include-raw-escape: include-raw-vpp-checkstyle.sh
+ - shell:
!include-raw-escape: include-raw-vpp-build.sh
- maven-target:
maven-version: '{mvn33}'