diff options
author | Rob Savoye <rob.savoye@linaro.org> | 2014-09-18 15:53:52 -0700 |
---|---|---|
committer | Rob Savoye <rob.savoye@linaro.org> | 2014-09-18 15:53:52 -0700 |
commit | 417e8370af87f6e3d127c5823d2ea52523e94720 (patch) | |
tree | 6fbafe3ea4382a18c70d971c49843260c4c6a9ce /tcwgweb.sh | |
parent | 52d170824d6af51d5ca3c532a33d6348a968d176 (diff) |
return a string Jenkins can look for to flip the color of the blinking dots
Diffstat (limited to 'tcwgweb.sh')
-rwxr-xr-x | tcwgweb.sh | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -16,6 +16,8 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # +returncode="ALLGOOD" + # $1 - the check.log file to scan scancheck () { @@ -155,6 +157,7 @@ difftwodirs () local userid="`grep 'email=' ${next}/manifest.txt | cut -d '=' -f 2`" if test -e ${diffdir}/$i-test-results.txt; then mailto "$i had regressions between ${pversion} and ${cversion}!" ${diffdir}/$i-test-results.txt ${userid} + returncode="REGRESSIONS" fi else echo "$i had no regressions between ${pversion} and ${cversion}!" > /tmp/mail$$.txt @@ -176,6 +179,8 @@ difftwodirs () xz ${prev}/*.sum fi xz ${next}/*.sum ${next}/*.log + + exit ${returncode} } # |