Mercurial > repos > blastem
comparison build_upload_nightly @ 1251:f249fd91b0f5
More logging. Fix path in upload step of build_upload_win_nightly
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 27 Feb 2017 00:28:05 -0800 |
parents | 738c8aa2c741 |
children | 8e3adc6264d3 |
comparison
equal
deleted
inserted
replaced
1250:738c8aa2c741 | 1251:f249fd91b0f5 |
---|---|
7 if [ $? -ne 0 ]; then | 7 if [ $? -ne 0 ]; then |
8 exit $? | 8 exit $? |
9 fi | 9 fi |
10 sleep 10 | 10 sleep 10 |
11 echo Starting build by $BUILD_USER in $CONTAINER_NAME | 11 echo Starting build by $BUILD_USER in $CONTAINER_NAME |
12 lxc-attach -n "$CONTAINER_NAME" -- /home/$BUILD_USER/blastem/build_nightly $BUILD_USER > /tmp/build_${name}_out.log | 12 lxc-attach -n "$CONTAINER_NAME" -- /home/$BUILD_USER/blastem/build_nightly $BUILD_USER 2>&1 > /tmp/build_${name}_out.log |
13 if [ $? -ne 0 ]; then | 13 result=$? |
14 echo Build falied with return code $? stopping $CONTAINER_NAME | 14 if [ $result -ne 0 ]; then |
15 echo Build falied with return code $result stopping $CONTAINER_NAME | |
15 lxc-stop -n "$CONTAINER_NAME" | 16 lxc-stop -n "$CONTAINER_NAME" |
16 exit $? | 17 exit $? |
17 fi | 18 fi |
18 echo "Build succeeded, stopping $CONTAINER_NAME" | 19 echo "Build succeeded, stopping $CONTAINER_NAME" |
19 lxc-stop -n "$CONTAINER_NAME" | 20 lxc-stop -n "$CONTAINER_NAME" |