diff options
author | wutianwei <wutianwei1@huawei.com> | 2018-02-03 17:38:22 +0800 |
---|---|---|
committer | wutianwei <wutianwei1@huawei.com> | 2018-02-03 17:38:22 +0800 |
commit | 9087611a8ec5b7cbcd35e0f47873b71c1b522f29 (patch) | |
tree | f1166bf8dd8f0d2a303d8aaf9dcc3d37398111b0 /jjb/compass4nfv | |
parent | 9c0a34eba94f87c6c5a02c52ccc521e9d5a6f4e8 (diff) |
fix the issue of docker command to collect logs
Change-Id: If5569d01012b0f94976d26dfb4cd81692a40c83d
Signed-off-by: wutianwei <wutianwei1@huawei.com>
Diffstat (limited to 'jjb/compass4nfv')
-rw-r--r-- | jjb/compass4nfv/compass-logs.sh | 2 |
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} |