X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/2d44f2e06d0b326aacf583c225e2a7ad1a988ef2..4f3c2cf50427f7ce7fbb1ad0fd0ead1bf398c922:/continuous/cron.sh diff --git a/continuous/cron.sh b/continuous/cron.sh index 9f8f4a2..6a53ecd 100755 --- a/continuous/cron.sh +++ b/continuous/cron.sh @@ -3,6 +3,7 @@ PATH=$PATH:$HOME/bin set -e +set -o pipefail cd $(dirname $0) @@ -16,11 +17,7 @@ mkdir -p logs NOW=$(date +%F_%R:%S) LOG=${NOW}.log -if ! make -C steps > logs/$LOG 2>&1; then - cat logs/$LOG - exit 1 -fi - +make -C steps 1>&1 | tee logs/$LOG make -C www --silent publish ( cd logs && git add $LOG && git commit --quiet -m 'Automatic commit' && git push --quiet )