summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuli Shlosberg <ys9693@att.com>2018-02-28 13:19:42 +0200
committerYuli Shlosberg <ys9693@att.com>2018-02-28 13:20:06 +0200
commit23cc7f5c7d811d7ed1038b354db4c07687e17cc3 (patch)
tree6c93fc0c652f68b65a516773a9277a6c25d890e1
parent51e051e86f9f5d10c9439e9e5e57d1e9ee8f8e06 (diff)
docekr_run improvement
Change-Id: I2891bc48d8ab850a9602507fa9d4fc5a18e0573f Issue-ID: SDC-920 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
-rwxr-xr-xsdc-os-chef/scripts/docker_run.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/sdc-os-chef/scripts/docker_run.sh b/sdc-os-chef/scripts/docker_run.sh
index f0594b6f44..f7f1ad5632 100755
--- a/sdc-os-chef/scripts/docker_run.sh
+++ b/sdc-os-chef/scripts/docker_run.sh
@@ -37,12 +37,13 @@ function dir_perms {
mkdir -p ${WORKSPACE}/data/logs/FE/SDC/SDC-FE
mkdir -p ${WORKSPACE}/data/logs/sdc-sanity/ExtentReport
mkdir -p ${WORKSPACE}/data/logs/sdc-sanity/target
+ mkdir -p ${WORKSPACE}/data/logs/docker_logs
chmod -R 777 ${WORKSPACE}/data/logs
}
function docker_logs {
-docker logs $1 > ${WORKSPACE}/data/logs/$1_docker.log
+docker logs $1 > ${WORKSPACE}/data/logs/docker_logs/$1_docker.log
}