VPP: added commit msg checker 04/20104/3
authorEd Kern <ejk@cisco.com>
Wed, 12 Jun 2019 22:21:54 +0000 (16:21 -0600)
committerEd Kern <ejk@cisco.com>
Thu, 13 Jun 2019 15:06:49 +0000 (09:06 -0600)
Adding commit msg checker to checkstyle job

Change-Id: I5c151524f8d3f96e1392f1eede38eb825536dfc8
Signed-off-by: Ed Kern <ejk@cisco.com>
jjb/vpp/include-raw-vpp-commitmsg.sh [new file with mode: 0644]
jjb/vpp/vpp.yaml

diff --git a/jjb/vpp/include-raw-vpp-commitmsg.sh b/jjb/vpp/include-raw-vpp-commitmsg.sh
new file mode 100644 (file)
index 0000000..d926ff5
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if [ -f extras/scripts/check_commit_msg.sh ];then
+       echo "Running extras/scripts/check_commit_msg.sh"
+    extras/scripts/check_commit_msg.sh
+else
+    echo "Cannot find cat extras/scripts/check_commit_msg.sh - skipping commit message check"
+fi
index 3f54c04..1b36eab 100644 (file)
       - shell:
           !include-raw-escape: include-raw-vpp-checkstyle.sh
       - shell:
-          !include-raw-escape: include-raw-vpp-test-checkstyle.sh
+          !include-raw-escape:
+            - include-raw-vpp-test-checkstyle.sh
+            - include-raw-vpp-commitmsg.sh
 
     publishers:
       - fdio-infra-shiplogs: