diff options
author | Justin chi <chigang@huawei.com> | 2017-03-14 03:49:12 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-14 03:49:12 +0000 |
commit | 8d5ac1ae0b6d2955caf15f9c317dad95290e322b (patch) | |
tree | 272b6cbcc81f749456a9e7e8cce141301ed17427 | |
parent | 36de0a04135b0932eab1e3a30d703a98aabc031d (diff) | |
parent | 185218b1731357f1ef4ee4f2898519ede9a34912 (diff) |
Merge "Add deploy log to file"
-rwxr-xr-x | deploy.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -38,4 +38,7 @@ if [[ -z $DEPLOY_COMPASS && -z $DEPLOY_HOST && -z $REDEPLOY_HOST ]]; then export DEPLOY_HOST="true" fi -$COMPASS_DIR/deploy/launch.sh $* +LOG_DIR=$COMPASS_DIR/work/deploy/log +mkdir -p $LOG_DIR + +$COMPASS_DIR/deploy/launch.sh $* 2>&1 | tee $LOG_DIR/compass-deploy.log |