From e0ba6ab8efa8b2f072f89d52b49964374c4f316b Mon Sep 17 00:00:00 2001 From: fr500 Date: Mon, 19 Oct 2015 16:09:21 -0500 Subject: [PATCH] fix the CG log --- libretro-buildbot-recipe.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libretro-buildbot-recipe.sh b/libretro-buildbot-recipe.sh index d49afdb2..7d27fc06 100755 --- a/libretro-buildbot-recipe.sh +++ b/libretro-buildbot-recipe.sh @@ -2073,6 +2073,9 @@ if [ "${PLATFORM}" == "osx" ] && [ "${RA}" == "YES" ]; then echo $MESSAGE fi + buildbot_log "$MESSAGE" + echo BUILDBOT JOB: $MESSAGE | tee -a $TMPDIR/log/${BOT}/${LOGDATE}.log + cd pkg/apple xcodebuild -project RetroArch.xcodeproj -target "RetroArch Cg" -configuration Release 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_CG_${PLATFORM}.log @@ -2080,7 +2083,7 @@ if [ "${PLATFORM}" == "osx" ] && [ "${RA}" == "YES" ]; then MESSAGE="retroarch build succeeded [$jobid]" echo $MESSAGE else - ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log | tail -n 100` + ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_CG_${PLATFORM}.log | tail -n 100` HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR"` HASTE=`echo $HASTE | cut -d"\"" -f4` MESSAGE="retroarch build failed [$jobid] LOG: http://hastebin.com/$HASTE"