diff options
author | Justin chi <chigang@huawei.com> | 2017-03-27 13:27:54 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-27 13:27:54 +0000 |
commit | d52a11770689f4fd4d2bc4b9bf8dc09d4dd62ebf (patch) | |
tree | 1a36a5857e95419bfcdfba86ea09093b44f8626b /deploy.sh | |
parent | c79c539411bec3da60bf60cb41906c63c1184ce5 (diff) | |
parent | 88a7278e949b7a4bb777d9f36f0e27eade2b46d6 (diff) |
Merge "opera adapter fix2"
Diffstat (limited to 'deploy.sh')
-rwxr-xr-x | deploy.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -39,6 +39,12 @@ if [[ -z $DEPLOY_COMPASS && -z $DEPLOY_HOST && -z $REDEPLOY_HOST ]]; then fi LOG_DIR=$COMPASS_DIR/work/deploy/log +export LOG_DIR + mkdir -p $LOG_DIR $COMPASS_DIR/deploy/launch.sh $* 2>&1 | tee $LOG_DIR/compass-deploy.log + +if [[ $(tail -1 $LOG_DIR/compass-deploy.log) != 'compass deploy success' ]]; then + exit 1 +fi |