Skip to content

Commit

Permalink
Fixing folder creation error
Browse files Browse the repository at this point in the history
  • Loading branch information
dougblackjr committed Feb 18, 2020
1 parent 51ac631 commit 709fc09
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions eetools
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ git archive --format=tar -o ee.tar $STASH_NAME
# Absolutely have to have the git folder available in the archive?
#tar --append --file=ee.tar .git

IMAGE_NAME="ellislab/eecms-test:old"
IMAGE_NAME="eecms_test:latest"
VOLUME_ID=`docker volume create`
HELPER_CONTAINER_ID=`docker create -v $VOLUME_ID:/app $IMAGE_NAME /bin/true`

Expand Down Expand Up @@ -48,7 +48,9 @@ else

((STATUS+=$?))

mkdir /tmp/artifacts > /dev/null
if [ ! -d /tmp/artifacts ]; then
mkdir /tmp/artifacts > /dev/null
fi
docker cp $HELPER_CONTAINER_ID:/app/artifacts/. /tmp/artifacts
fi

Expand Down

0 comments on commit 709fc09

Please sign in to comment.