From aae4f26cba4db739d7a54405834743b13c37da5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s?= Date: Thu, 11 Aug 2016 14:06:29 -0500 Subject: [PATCH] Update libretro-buildbot-recipe.sh --- libretro-buildbot-recipe.sh | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/libretro-buildbot-recipe.sh b/libretro-buildbot-recipe.sh index 877dd559..9952b259 100755 --- a/libretro-buildbot-recipe.sh +++ b/libretro-buildbot-recipe.sh @@ -1701,12 +1701,34 @@ if [ "${PLATFORM}" == "ps3" ] && [ "${RA}" == "YES" ]; then rm *.a cp -v $RARCH_DIST_DIR/*.a . - JOBS=1 sh ./dist-cores.sh dex-ps3 &> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log + JOBS=1 sh ./dist-cores.sh dex-ps3 &> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}_dex.log if [ $? -eq 0 ]; then MESSAGE="retroarch: [status: done] [$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_${PLATFORM}_dex.log | tail -n 100` + HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR"` + HASTE=`echo $HASTE | cut -d"\"" -f4` + MESSAGE="retroarch: [status: fail] [$jobid] LOG: http://hastebin.com/$HASTE" + echo $MESSAGE + fi + JOBS=1 sh ./dist-cores.sh cex-ps3 &> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}_cex.log + if [ $? -eq 0 ]; then + MESSAGE="retroarch: [status: done] [$jobid]" + echo $MESSAGE + else + ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}_cex.log | tail -n 100` + HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR"` + HASTE=`echo $HASTE | cut -d"\"" -f4` + MESSAGE="retroarch: [status: fail] [$jobid] LOG: http://hastebin.com/$HASTE" + echo $MESSAGE + fi + JOBS=1 sh ./dist-cores.sh ode-ps3 &> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}_ode.log + if [ $? -eq 0 ]; then + MESSAGE="retroarch: [status: done] [$jobid]" + echo $MESSAGE + else + ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}_ode.log | tail -n 100` HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR"` HASTE=`echo $HASTE | cut -d"\"" -f4` MESSAGE="retroarch: [status: fail] [$jobid] LOG: http://hastebin.com/$HASTE"