Don't use buildkite agent to upload logs
This commit is contained in:
parent
42ee157645
commit
544e2c9971
1 changed files with 0 additions and 8 deletions
|
@ -6,16 +6,8 @@
|
||||||
|
|
||||||
set -ev
|
set -ev
|
||||||
|
|
||||||
upload_logs() {
|
|
||||||
echo "--- Uploading logs"
|
|
||||||
buildkite-agent artifact upload "logs/**/*;synapse/installations/consent/homeserver.log"
|
|
||||||
}
|
|
||||||
|
|
||||||
handle_error() {
|
handle_error() {
|
||||||
EXIT_CODE=$?
|
EXIT_CODE=$?
|
||||||
if [ $TESTS_STARTED -eq 1 ]; then
|
|
||||||
upload_logs
|
|
||||||
fi
|
|
||||||
exit $EXIT_CODE
|
exit $EXIT_CODE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue