Don't use buildkite agent to upload logs
parent
42ee157645
commit
544e2c9971
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue