aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-12-02 01:45:45 +0100
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-12-02 01:45:45 +0100
commit61059d3d3852f4d84d6adb61e33bf1a4114c8202 (patch)
tree7b8d39959f54de30e11468d0000e5c04534e1aca /tools
parent9f4554ef94b354f4dc3117e8706b02a224c152e7 (diff)
Generate html reports always.
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