fix v6
This commit is contained in:
parent
3a9fb12a98
commit
7827f4c509
1 changed files with 7 additions and 1 deletions
|
|
@ -110,8 +110,14 @@ then
|
||||||
echo "./files/xml/importer/out or ./files/xml/importer/error or ./files/xml/exporter does not exists, skipping folder log copy"
|
echo "./files/xml/importer/out or ./files/xml/importer/error or ./files/xml/exporter does not exists, skipping folder log copy"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -d "./bin/log_artifacts/${CLR_TEST_NAME}" ]
|
||||||
|
then
|
||||||
|
rm -rf "./bin/log_artifacts/${CLR_TEST_NAME}/*"
|
||||||
|
else
|
||||||
|
mkdir -p "./bin/log_artifacts/${CLR_TEST_NAME}"
|
||||||
|
fi
|
||||||
|
|
||||||
# Move the copied logs into the artifact location
|
# Move the copied logs into the artifact location
|
||||||
mkdir -p "./bin/log_artifacts/${CLR_TEST_NAME}" || rm -rf "./bin/log_artifacts/${CLR_TEST_NAME}/*"
|
|
||||||
mv ./bin/tmp_log_artifact/* "./bin/log_artifacts/${CLR_TEST_NAME}"
|
mv ./bin/tmp_log_artifact/* "./bin/log_artifacts/${CLR_TEST_NAME}"
|
||||||
else
|
else
|
||||||
echo "CLR_TEST_NAME is not set. Skipping log copy."
|
echo "CLR_TEST_NAME is not set. Skipping log copy."
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue