summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Kern <ejk@cisco.com>2019-06-12 16:21:54 -0600
committerEd Kern <ejk@cisco.com>2019-06-13 09:06:49 -0600
commite3fc602213a7237af70b72ec481a78bb55292ca5 (patch)
treefd282bb082356fabc4842c46835e5907f52e02de
parentd182a8fc2d2eb51272d10bab82487493602a6285 (diff)
VPP: added commit msg checker
Adding commit msg checker to checkstyle job Change-Id: I5c151524f8d3f96e1392f1eede38eb825536dfc8 Signed-off-by: Ed Kern <ejk@cisco.com>
-rw-r--r--jjb/vpp/include-raw-vpp-commitmsg.sh8
-rw-r--r--jjb/vpp/vpp.yaml4
2 files changed, 11 insertions, 1 deletions
diff --git a/jjb/vpp/include-raw-vpp-commitmsg.sh b/jjb/vpp/include-raw-vpp-commitmsg.sh
new file mode 100644
index 000000000..d926ff5dd
--- /dev/null
+++ b/jjb/vpp/include-raw-vpp-commitmsg.sh
@@ -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
diff --git a/jjb/vpp/vpp.yaml b/jjb/vpp/vpp.yaml
index 3f54c0461..1b36eabed 100644
--- a/jjb/vpp/vpp.yaml
+++ b/jjb/vpp/vpp.yaml
@@ -755,7 +755,9 @@
- 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: