Fix GCS permissions and file moving bugs

This commit is contained in:
Marie Shaw
2016-08-17 13:32:55 -07:00
parent c8591c710b
commit f7e2109b8b
2 changed files with 14 additions and 5 deletions

View File

@@ -79,6 +79,11 @@ fi
if [ $remote = true ] ; then
# Setup the directory to copy test artifacts (logs, junit.xml, etc) from remote host to local host
if [[ $gubernator = true && -d "${artifacts}" ]]; then
echo "Removing artifacts directory at ${artifacts}"
rm -r ${artifacts}
fi
if [ ! -d "${artifacts}" ]; then
echo "Creating artifacts directory at ${artifacts}"
mkdir -p ${artifacts}