From 7470f7a64237a5368cc5bcef75db8022b8871151 Mon Sep 17 00:00:00 2001 From: Ed Warnicke Date: Fri, 5 Aug 2016 11:16:51 -0700 Subject: Adding support of checkstyle for vpp Change-Id: Ia5398ea7a6b6ba598d30c77556d8fbe992a2ed47 Signed-off-by: Ed Warnicke --- jjb/vpp/include-raw-vpp-checkstyle.sh | 7 +++++++ jjb/vpp/vpp.yaml | 6 ++++++ 2 files changed, 13 insertions(+) create mode 100644 jjb/vpp/include-raw-vpp-checkstyle.sh (limited to 'jjb') 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 @@ -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 @@ -141,6 +143,8 @@ notbuilt: true builders: + - shell: + !include-raw-escape: include-raw-vpp-checkstyle.sh - shell: !include-raw-escape: include-raw-vpp-build.sh @@ -185,6 +189,8 @@ branch: '{branch}' builders: + - shell: + !include-raw-escape: include-raw-vpp-checkstyle.sh - shell: !include-raw-escape: include-raw-vpp-build.sh - maven-target: -- cgit 1.2.3-korg