X-Git-Url: https://git.arvados.org/arvados-dev.git/blobdiff_plain/c1ab6401ba557f8ca015eb462f8bbba692c7b88a..1ff88838f9ca6a912411fb6bf3df217e1bcdcbe9:/jenkins/run-diagnostics-suite.sh diff --git a/jenkins/run-diagnostics-suite.sh b/jenkins/run-diagnostics-suite.sh index 015a053..c2b9bb4 100755 --- a/jenkins/run-diagnostics-suite.sh +++ b/jenkins/run-diagnostics-suite.sh @@ -1,5 +1,9 @@ #!/bin/bash +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + EXITCODE=0 INSTANCE=$1 @@ -57,6 +61,14 @@ if [[ "$REVISION" != '' ]]; then git checkout $REVISION fi +ECODE=$? + +if [[ "$ECODE" != "0" ]]; then + title "!!!!!! DIAGNOSTICS FAILED (`timer`) !!!!!!" + EXITCODE=$(($EXITCODE + $ECODE)) + exit $EXITCODE +fi + cp -f /home/jenkins/diagnostics/arvados-workbench/$INSTANCE-application.yml $WORKSPACE/apps/workbench/config/application.yml cd $WORKSPACE/apps/workbench @@ -67,7 +79,12 @@ if [[ ! -d tmp ]]; then mkdir tmp fi -RAILS_ENV=diagnostics bundle exec rake TEST=test/diagnostics/pipeline_test.rb +if [ $INSTANCE == '9tee4' ] +then + RAILS_ENV=diagnostics bundle exec rake TEST=test/diagnostics/container_request_test.rb +else + RAILS_ENV=diagnostics bundle exec rake TEST=test/diagnostics/pipeline_test.rb +fi ECODE=$?