diff options
author | Michael Pavone <pavone@retrodev.com> | 2017-02-27 00:28:05 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2017-02-27 00:28:05 -0800 |
commit | abffe25f9d9649da0cb27c5b1d4699b1ef78fb58 (patch) | |
tree | d0a57f1ebdb6e02afea34fff55620208655d6dbe /build_upload_nightly | |
parent | bd2fcaed78f4d4c3a887c83a2a44e92b2f7e1744 (diff) |
More logging. Fix path in upload step of build_upload_win_nightly
Diffstat (limited to 'build_upload_nightly')
-rwxr-xr-x | build_upload_nightly | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/build_upload_nightly b/build_upload_nightly index 6a82a51..7d392c1 100755 --- a/build_upload_nightly +++ b/build_upload_nightly @@ -9,9 +9,10 @@ if [ $? -ne 0 ]; then fi sleep 10 echo Starting build by $BUILD_USER in $CONTAINER_NAME -lxc-attach -n "$CONTAINER_NAME" -- /home/$BUILD_USER/blastem/build_nightly $BUILD_USER > /tmp/build_${name}_out.log -if [ $? -ne 0 ]; then - echo Build falied with return code $? stopping $CONTAINER_NAME +lxc-attach -n "$CONTAINER_NAME" -- /home/$BUILD_USER/blastem/build_nightly $BUILD_USER 2>&1 > /tmp/build_${name}_out.log +result=$? +if [ $result -ne 0 ]; then + echo Build falied with return code $result stopping $CONTAINER_NAME lxc-stop -n "$CONTAINER_NAME" exit $? fi |