Don't use buildkite agent to upload logs

This commit is contained in:
David Baker 2020-03-18 20:53:05 +00:00
parent 42ee157645
commit 544e2c9971

View file

@ -6,16 +6,8 @@
set -ev
upload_logs() {
echo "--- Uploading logs"
buildkite-agent artifact upload "logs/**/*;synapse/installations/consent/homeserver.log"
}
handle_error() {
EXIT_CODE=$?
if [ $TESTS_STARTED -eq 1 ]; then
upload_logs
fi
exit $EXIT_CODE
}