Merge pull request #4232 from matrix-org/dbkr/reactsdk-e2e-artifacts-2

Don't use buildkite agent to upload logs
This commit is contained in:
David Baker 2020-03-18 21:28:06 +00:00 committed by GitHub
commit ce90cbe35e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
}