Skip to content

Commit

Permalink
Docker: Remove leading ./ from artifacts.tgz
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed Mar 20, 2019
1 parent 8c49fea commit 8f60d62
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/docker/scripts/ci_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ fi
if [ -n "${ARTIFACTS_UPLOAD_URL}" ] && [ -d /workspace/artifacts ]; then
echo "Uploading artifacts..."
ARTIFACTS_TGZ="/tmp/test_${TESTNAME}_artifacts.tgz"
tar -czf "${ARTIFACTS_TGZ}" -C /workspace/artifacts .
cd /workspace/artifacts
tar -czf "${ARTIFACTS_TGZ}" *
upload_file "${ARTIFACTS_UPLOAD_URL}" "${ARTIFACTS_TGZ}" "application/gzip"
fi

Expand Down

0 comments on commit 8f60d62

Please sign in to comment.