update status codes

This commit is contained in:
radius 2016-03-17 23:22:20 -05:00
parent f9e923528f
commit af2b843a10

View File

@ -197,7 +197,7 @@ build_libretro_generic_makefile() {
PLATFORM=$5
ARGS=$6
JOBS=$JOBS
buildbot_log "$1: [status: build] [$jobid]"
buildbot_log "$1: [status: none] [$jobid]"
cd $DIR
cd $SUBDIR
@ -245,7 +245,7 @@ build_libretro_generic_makefile() {
cp -v ${NAME}_libretro${FORMAT}${LIBSUFFIX}.${FORMAT_EXT} $RARCH_DIST_DIR/${DIST}/${NAME}_libretro${FORMAT}${LIBSUFFIX}.${FORMAT_EXT} 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log
cp -v ${NAME}_libretro${FORMAT}${LIBSUFFIX}.${FORMAT_EXT} $RARCH_DIST_DIR/${DIST}/${NAME}_libretro${FORMAT}${LIBSUFFIX}.${FORMAT_EXT}
if [ $? -eq 0 ]; then
MESSAGE="$1: [status: ok ] [$jobid]"
MESSAGE="$1: [status: done] [$jobid]"
if [ "${PLATFORM}" == "windows" -o "${PLATFORM}" == "unix" ]; then
strip -s ${NAME}_libretro${FORMAT}${LIBSUFFIX}.${FORMAT_EXT}
fi
@ -253,7 +253,7 @@ build_libretro_generic_makefile() {
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log | tail -n 100`
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR"`
HASTE=`echo $HASTE | cut -d"\"" -f4`
MESSAGE="$1: [status: fail ] [$jobid] LOG: http://hastebin.com/$HASTE"
MESSAGE="$1: [status: fail] [$jobid] LOG: http://hastebin.com/$HASTE"
fi
echo buildbot job: $MESSAGE
@ -280,7 +280,7 @@ build_libretro_leiradel_makefile() {
MAKEFILE=$4
PLATFORM=$5
ARGS=$6
buildbot_log "$1: [status: build] [$jobid]"
buildbot_log "$1: [status: none] [$jobid]"
ARG1=`echo ${ARGS} | cut -f 1 -d " "`
mkdir -p $RARCH_DIST_DIR/${DIST}/${ARG1}
@ -307,12 +307,12 @@ build_libretro_leiradel_makefile() {
cp -v ${NAME}_libretro.${PLATFORM}_${ARG1}.${FORMAT_EXT} $RARCH_DIST_DIR/${DIST}/${ARG1}/${NAME}_libretro${LIBSUFFIX}.${FORMAT_EXT}
if [ $? -eq 0 ]; then
MESSAGE="$1: [status: ok ] [$jobid]"
MESSAGE="$1: [status: done] [$jobid]"
else
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log | tail -n 100`
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR"`
HASTE=`echo $HASTE | cut -d"\"" -f4`
MESSAGE="$1: [status: fail ] [$jobid] LOG: http://hastebin.com/$HASTE"
MESSAGE="$1: [status: fail] [$jobid] LOG: http://hastebin.com/$HASTE"
fi
echo buildbot job: $MESSAGE
echo buildbot job: $MESSAGE | tee -a $TMPDIR/log/${BOT}/${LOGDATE}.log
@ -338,7 +338,7 @@ build_libretro_generic_jni() {
MAKEFILE=$4
PLATFORM=$5
ARGS=$6
buildbot_log "$1: [status: build] [$jobid]"
buildbot_log "$1: [status: none] [$jobid]"
cd ${DIR}/${SUBDIR}
@ -366,14 +366,14 @@ build_libretro_generic_jni() {
cp -v ../libs/${a}/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/${a}/${1}_libretro${FORMAT}${LIBSUFFIX}.${FORMAT_EXT}
if [ $? -eq 0 ]; then
MESSAGE="$1-$a: [status: ok ] [$jobid]"
MESSAGE="$1-$a: [status: done] [$jobid]"
echo buildbot job: $MESSAGE
buildbot_log "$MESSAGE"
else
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}_${a}.log | tail -n 100`
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR"`
HASTE=`echo $HASTE | cut -d"\"" -f4`
MESSAGE="$1-$a: [status: fail ] [$jobid] LOG: http://hastebin.com/$HASTE"
MESSAGE="$1-$a: [status: fail] [$jobid] LOG: http://hastebin.com/$HASTE"
echo buildbot job: $MESSAGE
buildbot_log "$MESSAGE"
fi
@ -411,7 +411,7 @@ build_libretro_bsnes_jni() {
MAKEFILE=$4
PLATFORM=$5
PROFILE=$6
buildbot_log "$1: [status: build] [$jobid]"
buildbot_log "$1: [status: none] [$jobid]"
cd ${DIR}/${SUBDIR}
@ -439,12 +439,12 @@ build_libretro_bsnes_jni() {
cp -v ../libs/${a}/libretro_${NAME}_${PROFILE}.${FORMAT_EXT} $RARCH_DIST_DIR/${a}/${NAME}_${PROFILE}_libretro${FORMAT}${LIBSUFFIX}.${FORMAT_EXT}
if [ $? -eq 0 ]; then
MESSAGE="$1-$a: [status: ok ] [$jobid]"
MESSAGE="$1-$a: [status: done] [$jobid]"
else
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}_${a}.log | tail -n 100`
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR"`
HASTE=`echo $HASTE | cut -d"\"" -f4`
MESSAGE="$1-$a: [status: fail ] [$jobid] LOG: http://hastebin.com/$HASTE"
MESSAGE="$1-$a: [status: fail] [$jobid] LOG: http://hastebin.com/$HASTE"
fi
echo buildbot job: $MESSAGE
echo buildbot job: $MESSAGE | tee -a $TMPDIR/log/${BOT}/${LOGDATE}.log
@ -471,7 +471,7 @@ build_libretro_generic_gl_makefile() {
MAKEFILE=$4
PLATFORM=$5
ARGS=$6
buildbot_log "$1: [status: build] [$jobid]"
buildbot_log "$1: [status: none] [$jobid]"
check_opengl
@ -501,12 +501,12 @@ build_libretro_generic_gl_makefile() {
cp -v ${NAME}_libretro${FORMAT}${LIBSUFFIX}.${FORMAT_EXT} $RARCH_DIST_DIR/${NAME}_libretro${FORMAT}${LIBSUFFIX}.${FORMAT_EXT}
if [ $? -eq 0 ]; then
MESSAGE="$1: [status: ok ] [$jobid]"
MESSAGE="$1: [status: done] [$jobid]"
else
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log | tail -n 100`
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR"`
HASTE=`echo $HASTE | cut -d"\"" -f4`
MESSAGE="$1: [status: fail ] [$jobid] LOG: http://hastebin.com/$HASTE"
MESSAGE="$1: [status: fail] [$jobid] LOG: http://hastebin.com/$HASTE"
fi
echo buildbot job: $MESSAGE
echo buildbot job: $MESSAGE | tee -a $TMPDIR/log/${BOT}/${LOGDATE}.log
@ -532,7 +532,7 @@ build_libretro_bsnes() {
MAKEFILE=$4
PLATFORM=$5
BSNESCOMPILER=$6
buildbot_log "$1: [status: build] [$jobid]"
buildbot_log "$1: [status: none] [$jobid]"
cd $DIR
@ -574,12 +574,12 @@ build_libretro_bsnes() {
cp -fv "out/${NAME}_${PROFILE}_libretro${FORMAT}.${FORMAT_EXT}" $RARCH_DIST_DIR/${NAME}_${PROFILE}_libretro${FORMAT}${LIBSUFFIX}.${FORMAT_EXT}
fi
if [ $? -eq 0 ]; then
MESSAGE="$1: [status: ok ] [$jobid]"
MESSAGE="$1: [status: done] [$jobid]"
else
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log | tail -n 100`
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR"`
HASTE=`echo $HASTE | cut -d"\"" -f4`
MESSAGE="$1: [status: fail ] [$jobid] LOG: http://hastebin.com/$HASTE"
MESSAGE="$1: [status: fail] [$jobid] LOG: http://hastebin.com/$HASTE"
fi
echo buildbot job: $MESSAGE
echo buildbot job: $MESSAGE | tee -a $TMPDIR/log/${BOT}/${LOGDATE}.log
@ -948,7 +948,7 @@ while read line; do
done < $1
buildbot_pull(){
while read line; do
while read line; do
NAME=`echo $line | cut -f 1 -d " "`
DIR=`echo $line | cut -f 2 -d " "`
URL=`echo $line | cut -f 3 -d " "`
@ -1059,12 +1059,12 @@ BUILD=""
if [ "${PLATFORM}" == "osx" ] && [ "${RA}" == "YES" ]; then
echo WORKINGDIR=$PWD
echo RELEASE=$RELEASE
echo FORCE=$FORCE_RETROARCH_BUILD
echo RADIR=$RADIR
buildbot_pull
echo WORKINGDIR=$PWD
echo RELEASE=$RELEASE
echo FORCE=$FORCE_RETROARCH_BUILD
echo RADIR=$RADIR
buildbot_pull
if [ "${BUILD}" == "YES" -o "${FORCE}" == "YES" -o "${FORCE_RETROARCH_BUILD}" == "YES" -o "${CORES_BUILT}" == "YES" ]; then
touch $TMPDIR/built-frontend
@ -1076,7 +1076,7 @@ if [ "${PLATFORM}" == "osx" ] && [ "${RA}" == "YES" ]; then
echo RADIR=$RADIR
echo "buildbot job: $jobid Building"
buildbot_log "retroarch: [status: build] [$jobid]"
buildbot_log "retroarch: [status: none] [$jobid]"
echo
cd pkg/apple
@ -1084,13 +1084,13 @@ if [ "${PLATFORM}" == "osx" ] && [ "${RA}" == "YES" ]; then
xcodebuild -project RetroArch.xcodeproj -target RetroArch -configuration Release | tee $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
if [ $? -eq 0 ]; then
MESSAGE="retroarch: [status: ok ] [$jobid]"
MESSAGE="retroarch: [status: done] [$jobid]"
echo $MESSAGE
else
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.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"
MESSAGE="retroarch: [status: fail] [$jobid] LOG: http://hastebin.com/$HASTE"
echo $MESSAGE
fi
@ -1100,13 +1100,13 @@ if [ "${PLATFORM}" == "osx" ] && [ "${RA}" == "YES" ]; then
xcodebuild -project RetroArch.xcodeproj -target "RetroArch Cg" -configuration Release | tee $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_CG_${PLATFORM}.log
if [ $? -eq 0 ]; then
MESSAGE="retroarch: [status: ok ] [$jobid]"
MESSAGE="retroarch: [status: done] [$jobid]"
echo $MESSAGE
else
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: [status: fail ] [$jobid] LOG: http://hastebin.com/$HASTE"
MESSAGE="retroarch: [status: fail] [$jobid] LOG: http://hastebin.com/$HASTE"
echo $MESSAGE
fi
@ -1120,32 +1120,32 @@ if [ "${PLATFORM}" == "osx" ] && [ "${RA}" == "YES" ]; then
fi
if [ "${PLATFORM}" == "ios" ] && [ "${RA}" == "YES" ]; then
echo WORKINGDIR=$PWD
echo RELEASE=$RELEASE
echo FORCE=$FORCE_RETROARCH_BUILD
echo RADIR=$RADIR
buildbot_pull
echo WORKINGDIR=$PWD
echo RELEASE=$RELEASE
echo FORCE=$FORCE_RETROARCH_BUILD
echo RADIR=$RADIR
buildbot_pull
if [ "${BUILD}" == "YES" -o "${FORCE}" == "YES" -o "${FORCE_RETROARCH_BUILD}" == "YES" -o "${CORES_BUILT}" == "YES" ]; then
touch $TMPDIR/built-frontend
cd $RADIR
cd $RADIR
git clean -xdf
echo "buildbot job: $jobid Building"
buildbot_log "retroarch: [status: build] [$jobid]"
buildbot_log "retroarch: [status: none] [$jobid]"
echo
cd pkg/apple
xcodebuild clean build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -project RetroArch_iOS.xcodeproj -configuration Release &> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
if [ $? -eq 0 ]; then
MESSAGE="retroarch: [status: ok ] [$jobid]"
MESSAGE="retroarch: [status: done] [$jobid]"
echo $MESSAGE
else
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.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"
MESSAGE="retroarch: [status: fail] [$jobid] LOG: http://hastebin.com/$HASTE"
echo $MESSAGE
fi
@ -1161,26 +1161,26 @@ fi
if [ "${PLATFORM}" == "ios9" ] && [ "${RA}" == "YES" ]; then
echo WORKINGDIR=$PWD
echo RELEASE=$RELEASE
echo FORCE=$FORCE_RETROARCH_BUILD
echo RADIR=$RADIR
buildbot_pull
echo WORKINGDIR=$PWD
echo RELEASE=$RELEASE
echo FORCE=$FORCE_RETROARCH_BUILD
echo RADIR=$RADIR
buildbot_pull
if [ "${BUILD}" == "YES" -o "${FORCE}" == "YES" -o "${FORCE_RETROARCH_BUILD}" == "YES" -o "${CORES_BUILT}" == "YES" ]; then
touch $TMPDIR/built-frontend
cd $RADIR
cd $RADIR
git clean -xdf
echo "buildbot job: $jobid Building"
buildbot_log "retroarch: [status: build] [$jobid]"
buildbot_log "retroarch: [status: none] [$jobid]"
echo
cd pkg/apple
xcodebuild clean build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -project RetroArch_iOS.xcodeproj -configuration Release -target "RetroArch iOS9" &> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
if [ $? -eq 0 ]; then
MESSAGE="retroarch: [status: ok ] [$jobid]"
MESSAGE="retroarch: [status: done] [$jobid]"
cd build/Release-iphoneos
security unlock-keychain -p buildbot /Users/buildbot/Library/Keychains/login.keychain
codesign -fs "buildbot" RetroArch.app
@ -1190,7 +1190,7 @@ if [ "${PLATFORM}" == "ios9" ] && [ "${RA}" == "YES" ]; then
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.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"
MESSAGE="retroarch: [status: fail] [$jobid] LOG: http://hastebin.com/$HASTE"
echo $MESSAGE
fi
@ -1206,18 +1206,18 @@ fi
if [ "${PLATFORM}" = "android" ] && [ "${RA}" = "YES" ]; then
echo WORKINGDIR=$PWD
echo RELEASE=$RELEASE
echo FORCE=$FORCE_RETROARCH_BUILD
echo RADIR=$RADIR
buildbot_pull
echo WORKINGDIR=$PWD
echo RELEASE=$RELEASE
echo FORCE=$FORCE_RETROARCH_BUILD
echo RADIR=$RADIR
buildbot_pull
if [ "${BUILD}" = "YES" -o "${FORCE}" = "YES" -o "${FORCE_RETROARCH_BUILD}" == "YES" ]; then
touch $TMPDIR/built-frontend
echo "buildbot job: $jobid compiling shaders"
echo
cd $RADIR
cd $RADIR
git clean -xdf
echo WORKINGDIR=$PWD
echo RELEASE=$RELEASE
@ -1282,7 +1282,7 @@ if [ "${PLATFORM}" = "android" ] && [ "${RA}" = "YES" ]; then
cp -rf $RARCH_DIR/info/* pkg/android/phoenix/assets/info/
echo "buildbot job: $jobid Building"
buildbot_log "retroarch: [status: build] [$jobid]"
buildbot_log "retroarch: [status: none] [$jobid]"
echo
cd pkg/android/phoenix
rm bin/*.apk
@ -1301,7 +1301,7 @@ EOF
if [ "${RELEASE}" == "NO" ]; then
python ./version_increment.py
else
git reset --hard
git reset --hard
fi
ant clean | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
android update project --path . --target android-22 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
@ -1312,13 +1312,13 @@ EOF
cp -rv bin/retroarch-release.apk $RARCH_DIR/retroarch-release.apk
if [ $? -eq 0 ]; then
MESSAGE="retroarch: [status: ok ] [$jobid]"
MESSAGE="retroarch: [status: done] [$jobid]"
echo $MESSAGE
else
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.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"
MESSAGE="retroarch: [status: fail] [$jobid] LOG: http://hastebin.com/$HASTE"
echo $MESSAGE
fi
echo buildbot job: $MESSAGE | tee -a $TMPDIR/log/${BOT}/${LOGDATE}.log
@ -1337,13 +1337,13 @@ EOF
if [ $? -eq 0 ]; then
MESSAGE="retroarch debug: [status: ok ] [$jobid]"
MESSAGE="retroarch debug: [status: done] [$jobid]"
echo $MESSAGE $RARCH_DIR
else
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.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"
MESSAGE="retroarch: [status: fail] [$jobid] LOG: http://hastebin.com/$HASTE"
echo $MESSAGE
fi
echo buildbot job: $MESSAGE | tee -a $TMPDIR/log/${BOT}/${LOGDATE}.log
@ -1352,22 +1352,22 @@ EOF
fi
if [ "${PLATFORM}" = "MINGW64" ] || [ "${PLATFORM}" = "MINGW32" ] || [ "${PLATFORM}" = "windows" ] && [ "${RA}" = "YES" ]; then
echo WORKINGDIR=$PWD
echo RELEASE=$RELEASE
echo FORCE=$FORCE_RETROARCH_BUILD
echo RADIR=$RADIR
buildbot_pull
echo WORKINGDIR=$PWD
echo RELEASE=$RELEASE
echo FORCE=$FORCE_RETROARCH_BUILD
echo RADIR=$RADIR
buildbot_pull
echo
echo
if [ "${BUILD}" = "YES" -o "${FORCE}" = "YES" -o "${FORCE_RETROARCH_BUILD}" == "YES" ]; then
touch $TMPDIR/built-frontend
cd $RADIR
cd $RADIR
git clean -xdf
echo "buildbot job: $jobid Building"
buildbot_log "retroarch: [status: build] [$jobid]"
buildbot_log "retroarch: [status: none] [$jobid]"
echo
echo "compiling audio filters"
@ -1377,7 +1377,7 @@ if [ "${PLATFORM}" = "MINGW64" ] || [ "${PLATFORM}" = "MINGW32" ] || [ "${PLATFO
if [ $? -eq 0 ]; then
echo buildbot job: $jobid audio filter build success!
else
echo buildbot job: $jobid audio filter: [status: fail ]!
echo buildbot job: $jobid audio filter: [status: fail]!
fi
cd ..
@ -1390,7 +1390,7 @@ if [ "${PLATFORM}" = "MINGW64" ] || [ "${PLATFORM}" = "MINGW32" ] || [ "${PLATFO
if [ $? -eq 0 ]; then
echo buildbot job: $jobid video filter build success!
else
echo buildbot job: $jobid video filter: [status: fail ]!
echo buildbot job: $jobid video filter: [status: fail]!
fi
cd ..
@ -1425,7 +1425,7 @@ if [ "${PLATFORM}" = "MINGW64" ] || [ "${PLATFORM}" = "MINGW32" ] || [ "${PLATFO
strip -s retroarch.exe
if [ $? -eq 0 ]; then
MESSAGE="retroarch: [status: ok ] [$jobid]"
MESSAGE="retroarch: [status: done] [$jobid]"
echo $MESSAGE
echo buildbot job: $MESSAGE | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
buildbot_log "$MESSAGE"
@ -1502,7 +1502,7 @@ EOF
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.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"
MESSAGE="retroarch: [status: fail] [$jobid] LOG: http://hastebin.com/$HASTE"
echo $MESSAGE
echo buildbot job: $MESSAGE | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
buildbot_log "$MESSAGE"
@ -1511,19 +1511,19 @@ EOF
fi
if [ "${PLATFORM}" = "psp1" ] && [ "${RA}" = "YES" ]; then
echo WORKINGDIR=$PWD
echo RELEASE=$RELEASE
echo FORCE=$FORCE_RETROARCH_BUILD
echo RADIR=$RADIR
buildbot_pull
echo WORKINGDIR=$PWD
echo RELEASE=$RELEASE
echo FORCE=$FORCE_RETROARCH_BUILD
echo RADIR=$RADIR
buildbot_pull
if [ "${BUILD}" == "YES" -o "${FORCE}" == "YES" -o "${FORCE_RETROARCH_BUILD}" == "YES" -o "${CORES_BUILT}" == "YES" ]; then
touch $TMPDIR/built-frontend
cd $RADIR
cd $RADIR
git clean -xdf
echo "buildbot job: $jobid Building"
buildbot_log "retroarch: [status: build] [$jobid]"
buildbot_log "retroarch: [status: none] [$jobid]"
echo
cd dist-scripts
@ -1532,13 +1532,13 @@ if [ "${PLATFORM}" = "psp1" ] && [ "${RA}" = "YES" ]; then
./dist-cores.sh psp1 &> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
if [ $? -eq 0 ]; then
MESSAGE="retroarch: [status: ok ] [$jobid]"
MESSAGE="retroarch: [status: done] [$jobid]"
echo $MESSAGE
else
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.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"
MESSAGE="retroarch: [status: fail] [$jobid] LOG: http://hastebin.com/$HASTE"
echo $MESSAGE
fi
buildbot_log "$MESSAGE"
@ -1557,18 +1557,18 @@ if [ "${PLATFORM}" = "psp1" ] && [ "${RA}" = "YES" ]; then
fi
if [ "${PLATFORM}" == "wii" ] && [ "${RA}" == "YES" ]; then
echo WORKINGDIR=$PWD
echo RELEASE=$RELEASE
echo FORCE=$FORCE_RETROARCH_BUILD
echo RADIR=$RADIR
buildbot_pull
echo WORKINGDIR=$PWD
echo RELEASE=$RELEASE
echo FORCE=$FORCE_RETROARCH_BUILD
echo RADIR=$RADIR
buildbot_pull
if [ "${BUILD}" == "YES" -o "${FORCE}" == "YES" -o "${FORCE_RETROARCH_BUILD}" == "YES" -o "${CORES_BUILT}" == "YES" ]; then
touch $TMPDIR/built-frontend
cd $RADIR
cd $RADIR
git clean -xdf
echo "buildbot job: $jobid Building"
buildbot_log "retroarch: [status: build] [$jobid]"
buildbot_log "retroarch: [status: none] [$jobid]"
echo
if [ "${BUILD}" == "YES" -o "${FORCE}" == "YES" ]; then
@ -1578,13 +1578,13 @@ if [ "${PLATFORM}" == "wii" ] && [ "${RA}" == "YES" ]; then
sh ./dist-cores.sh wii &> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
if [ $? -eq 0 ]; then
MESSAGE="retroarch: [status: ok ] [$jobid]"
MESSAGE="retroarch: [status: done] [$jobid]"
echo $MESSAGE
else
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.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"
MESSAGE="retroarch: [status: fail] [$jobid] LOG: http://hastebin.com/$HASTE"
echo $MESSAGE
fi
buildbot_log "$MESSAGE"
@ -1605,18 +1605,18 @@ if [ "${PLATFORM}" == "wii" ] && [ "${RA}" == "YES" ]; then
fi
if [ "${PLATFORM}" == "ngc" ] && [ "${RA}" == "YES" ]; then
echo WORKINGDIR=$PWD
echo RELEASE=$RELEASE
echo FORCE=$FORCE_RETROARCH_BUILD
echo RADIR=$RADIR
buildbot_pull
echo WORKINGDIR=$PWD
echo RELEASE=$RELEASE
echo FORCE=$FORCE_RETROARCH_BUILD
echo RADIR=$RADIR
buildbot_pull
if [ "${BUILD}" == "YES" -o "${FORCE}" == "YES" -o "${FORCE_RETROARCH_BUILD}" == "YES" -o "${CORES_BUILT}" == "YES" ]; then
touch $TMPDIR/built-frontend
cd $RADIR
cd $RADIR
git clean -xdf
echo "buildbot job: $jobid Building"
buildbot_log "retroarch: [status: build] [$jobid]"
buildbot_log "retroarch: [status: none] [$jobid]"
echo
cd dist-scripts
@ -1626,13 +1626,13 @@ if [ "${PLATFORM}" == "ngc" ] && [ "${RA}" == "YES" ]; then
sh ./dist-cores.sh ngc &> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
if [ $? -eq 0 ];
then
MESSAGE="retroarch: [status: ok ] [$jobid]"
MESSAGE="retroarch: [status: done] [$jobid]"
echo $MESSAGE
else
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.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"
MESSAGE="retroarch: [status: fail] [$jobid] LOG: http://hastebin.com/$HASTE"
echo $MESSAGE
fi
buildbot_log "$MESSAGE"
@ -1652,18 +1652,18 @@ if [ "${PLATFORM}" == "ngc" ] && [ "${RA}" == "YES" ]; then
fi
if [ "${PLATFORM}" == "ctr" ] && [ "${RA}" == "YES" ]; then
echo WORKINGDIR=$PWD
echo RELEASE=$RELEASE
echo FORCE=$FORCE_RETROARCH_BUILD
echo RADIR=$RADIR
buildbot_pull
echo WORKINGDIR=$PWD
echo RELEASE=$RELEASE
echo FORCE=$FORCE_RETROARCH_BUILD
echo RADIR=$RADIR
buildbot_pull
if [ "${BUILD}" == "YES" -o "${FORCE}" == "YES" -o "${FORCE_RETROARCH_BUILD}" == "YES" -o "${CORES_BUILT}" == "YES" ]; then
cd $RADIR
cd $RADIR
git clean -xdf
echo "buildbot job: $jobid Building"
buildbot_log "retroarch: [status: build] [$jobid]"
buildbot_log "retroarch: [status: none] [$jobid]"
echo
cd dist-scripts
@ -1672,14 +1672,14 @@ if [ "${PLATFORM}" == "ctr" ] && [ "${RA}" == "YES" ]; then
JOBS=1 sh ./dist-cores.sh ctr &> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
if [ $? -eq 0 ]; then
MESSAGE="retroarch: [status: ok ] [$jobid]"
MESSAGE="retroarch: [status: done] [$jobid]"
echo $MESSAGE
touch $TMPDIR/built-frontend
else
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.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"
MESSAGE="retroarch: [status: fail] [$jobid] LOG: http://hastebin.com/$HASTE"
echo $MESSAGE
fi
buildbot_log "$MESSAGE"
@ -1699,19 +1699,19 @@ if [ "${PLATFORM}" == "ctr" ] && [ "${RA}" == "YES" ]; then
fi
if [ "${PLATFORM}" == "vita" ] && [ "${RA}" == "YES" ]; then
echo WORKINGDIR=$PWD
echo RELEASE=$RELEASE
echo FORCE=$FORCE_RETROARCH_BUILD
echo RADIR=$RADIR
buildbot_pull
echo WORKINGDIR=$PWD
echo RELEASE=$RELEASE
echo FORCE=$FORCE_RETROARCH_BUILD
echo RADIR=$RADIR
buildbot_pull
if [ "${BUILD}" == "YES" -o "${FORCE}" == "YES" -o "${FORCE_RETROARCH_BUILD}" == "YES" -o "${CORES_BUILT}" == "YES" ]; then
touch $TMPDIR/built-frontend
cd $RADIR
cd $RADIR
git clean -xdf
echo "buildbot job: $jobid Building"
buildbot_log "retroarch: [status: build] [$jobid]"
buildbot_log "retroarch: [status: none] [$jobid]"
echo
cd dist-scripts
@ -1720,13 +1720,13 @@ if [ "${PLATFORM}" == "vita" ] && [ "${RA}" == "YES" ]; then
JOBS=1 sh ./dist-cores.sh vita &> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
if [ $? -eq 0 ]; then
MESSAGE="retroarch: [status: ok ] [$jobid]"
MESSAGE="retroarch: [status: done] [$jobid]"
echo $MESSAGE
else
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.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"
MESSAGE="retroarch: [status: fail] [$jobid] LOG: http://hastebin.com/$HASTE"
echo $MESSAGE
fi
buildbot_log "$MESSAGE"