projects
/
arvados-dev.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc7fe0e
)
Abort diagnostics suite with prejudice if the git checkout fails.
author
Ward Vandewege <ward@curoverse.com>
Mon, 23 Jan 2017 18:55:50 +0000
(13:55 -0500)
committer
Ward Vandewege <ward@curoverse.com>
Mon, 23 Jan 2017 18:55:50 +0000
(13:55 -0500)
No issue #
jenkins/run-diagnostics-suite.sh
patch
|
blob
|
history
diff --git
a/jenkins/run-diagnostics-suite.sh
b/jenkins/run-diagnostics-suite.sh
index 015a0539c832fdcec36c257cb5ae51aee48c32c2..ef25fd40fde73540773247cdd3a6c8d8873fc215 100755
(executable)
--- a/
jenkins/run-diagnostics-suite.sh
+++ b/
jenkins/run-diagnostics-suite.sh
@@
-57,6
+57,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