summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwutianwei <wutianwei1@huawei.com>2018-02-03 17:38:22 +0800
committerwutianwei <wutianwei1@huawei.com>2018-02-03 17:38:22 +0800
commit9087611a8ec5b7cbcd35e0f47873b71c1b522f29 (patch)
treef1166bf8dd8f0d2a303d8aaf9dcc3d37398111b0
parent9c0a34eba94f87c6c5a02c52ccc521e9d5a6f4e8 (diff)
fix the issue of docker command to collect logs
Change-Id: If5569d01012b0f94976d26dfb4cd81692a40c83d Signed-off-by: wutianwei <wutianwei1@huawei.com>
-rw-r--r--jjb/compass4nfv/compass-logs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/compass4nfv/compass-logs.sh b/jjb/compass4nfv/compass-logs.sh
index 03c8b20ac..c028194e7 100644
--- a/jjb/compass4nfv/compass-logs.sh
+++ b/jjb/compass4nfv/compass-logs.sh
@@ -14,7 +14,7 @@ OPNFV_ARTIFACT_VERSION=$(date -u +"%Y-%m-%d_%H-%M-%S")
COMPASS_LOG_FILENAME="${JOB_NAME}_${BUILD_NUMBER}_${OPNFV_ARTIFACT_VERSION}.log.tar.gz"
-sudo docker exec -it compass-tasks /bin/bash /opt/collect-log.sh
+sudo docker exec compass-tasks /bin/bash /opt/collect-log.sh
sudo docker cp compass-tasks:/opt/log.tar.gz ${LOG_DIRECTORY}/${COMPASS_LOG_FILENAME}
sudo chown $(whoami):$(whoami) ${LOG_DIRECTORY}/${COMPASS_LOG_FILENAME}