From: Willem Toorop Date: Tue, 18 Jun 2013 15:03:23 +0000 (+0200) Subject: pass in lc, report e-mail sending X-Git-Tag: release-1.6.17rc1~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1c8649e9e16efb9186ef4ffe18a99e7e1e5d700;p=thirdparty%2Fldns.git pass in lc, report e-mail sending --- diff --git a/test/test_ci.sh b/test/test_ci.sh index f6497140..b1402b5e 100755 --- a/test/test_ci.sh +++ b/test/test_ci.sh @@ -56,7 +56,7 @@ done # ----------------------------------------------------------------------------- # ---- Reusable reporting part # -if test "$?" -eq "0"; then STATUS="PASS"; else STATUS="FAIL"; fi +if test "$?" -eq "0"; then STATUS="pass"; else STATUS="FAIL"; fi CI_ID=2 REPOS=$(basename $(pwd)) @@ -64,6 +64,7 @@ REPOS=${REPOS%.git} CI_URI="https://gitlab-ci.nlnetlabs.nl/projects/$CI_ID/builds/%H" while [ $# -ge 1 ] do + echo "Sending mail to $1... ($# >= 1)" ( git log -1 --format="From %H %ad%nFrom: %an <%ae>" BRANCH=$( @@ -102,4 +103,4 @@ do ) | sendmail $1 shift done -test "$STATUS" = "PASS" +test "$STATUS" = "pass"