From 3ff0609f2618548af14a295b5c6f508abc320543 Mon Sep 17 00:00:00 2001 From: Andreas Antener <antener_a@gmx.ch> Date: Mon, 12 Dec 2016 21:38:12 +0100 Subject: [PATCH] Integrationtests: upload test logs to flight review --- integrationtests/run_tests.bash | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/integrationtests/run_tests.bash b/integrationtests/run_tests.bash index a74fbd1716..6bbe78da37 100755 --- a/integrationtests/run_tests.bash +++ b/integrationtests/run_tests.bash @@ -107,6 +107,14 @@ cp -r $ROS_LOG_DIR/* ${TEST_RESULT_TARGET_DIR} cp -r $PX4_LOG_DIR/* ${TEST_RESULT_TARGET_DIR} # cp $BAGS/*.bag ${TEST_RESULT_TARGET_DIR}/ # cp -r $CHARTS ${TEST_RESULT_TARGET_DIR}/ + + +echo "uploading test logs to Flight Review" +for LOG in `ls $PX4_LOG_DIR/**/*.px4log` +do + LINK=`$SRC_DIR/Tools/upload_log.py -q --source CI $LOG` + echo "Test log: $LINK" +done echo "<=====" # need to return error if tests failed, else Jenkins won't notice the failure -- GitLab