You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2018/09/05 13:25:58 UTC

[trafficserver] branch master updated: Add exit code checks in clang-format.sh

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new d5a40f5  Add exit code checks in clang-format.sh
d5a40f5 is described below

commit d5a40f57ceed987c3d81180408aab6dfcacaa1fe
Author: Masaori Koshiba <ma...@apache.org>
AuthorDate: Mon Sep 3 09:01:44 2018 +0900

    Add exit code checks in clang-format.sh
---
 ci/jenkins/bin/clang-format.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ci/jenkins/bin/clang-format.sh b/ci/jenkins/bin/clang-format.sh
index e6f79f5..e6d1bc2 100755
--- a/ci/jenkins/bin/clang-format.sh
+++ b/ci/jenkins/bin/clang-format.sh
@@ -18,8 +18,11 @@
 
 cd "${WORKSPACE}/src"
 autoreconf -if && ./configure
+[ "0" != "$?" ] && exit -1
 
 ${ATS_MAKE} -j clang-format
+[ "0" != "$?" ] && exit -1
+
 git diff --exit-code
 [ "0" != "$?" ] && exit -1