aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/jenkins/docker_run_tests.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/jenkins/docker_run_tests.sh b/tools/jenkins/docker_run_tests.sh
index 8bafeea620..148a0f5e08 100755
--- a/tools/jenkins/docker_run_tests.sh
+++ b/tools/jenkins/docker_run_tests.sh
@@ -48,7 +48,9 @@ rvm use ruby-2.1
mkdir -p reports
-$RUN_TESTS_COMMAND
+exit_code=0
+
+$RUN_TESTS_COMMAND || exit_code=$?
cd reports
echo '<html><head></head><body>' > index.html
@@ -61,3 +63,5 @@ echo '</body></html>' >> index.html
cd ..
zip -r reports.zip reports
+
+exit $exit_code