You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
647 B
19 lines
647 B
#!/bin/bash |
|
# |
|
# Upload SITL CI logs to Flight Review |
|
# |
|
# License: according to LICENSE.md in the root directory of the PX4 Firmware repository |
|
|
|
if [ -z "$WORKSPACE" ] || [ -z "${ghprbActualCommitAuthorEmail}" ] || [ -z "${ghprbPullDescription}" ]; then |
|
echo "Environment not set. Needs to be called from within Jenkins." |
|
exit 1 |
|
fi |
|
|
|
echo "Uploading test logs to Flight Review" |
|
|
|
CMD="$WORKSPACE/Firmware/Tools/upload_log.py" |
|
find "$WORKSPACE/test_results" -name \*.ulg -exec "$CMD" -q \ |
|
--description "${ghprbPullDescription}" --source CI "{}" \; |
|
|
|
# XXX: move up if we want email notifications |
|
# --email "${ghprbActualCommitAuthorEmail}" \
|
|
|