projects
/
arvados-dev.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8aca507
)
Abort performance suite with prejudice if the git checkout fails.
author
Ward Vandewege <ward@curoverse.com>
Mon, 23 Jan 2017 18:35:21 +0000
(13:35 -0500)
committer
Ward Vandewege <ward@curoverse.com>
Mon, 23 Jan 2017 18:35:21 +0000
(13:35 -0500)
No issue #
jenkins/run-performance-suite.sh
patch
|
blob
|
history
diff --git
a/jenkins/run-performance-suite.sh
b/jenkins/run-performance-suite.sh
index 2944bda5ed353b30632d78d63fb3cd139cf1462a..07d002aab7799dc67f6499c0e726354e5fd538c3 100755
(executable)
--- a/
jenkins/run-performance-suite.sh
+++ b/
jenkins/run-performance-suite.sh
@@
-57,6
+57,14
@@
if [[ "$REVISION" != '' ]]; then
git checkout $REVISION
fi
git checkout $REVISION
fi
+ECODE=$?
+
+if [[ "$ECODE" != "0" ]]; then
+ title "!!!!!! PERFORMANCE TESTS 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
cp -f /home/jenkins/diagnostics/arvados-workbench/$INSTANCE-application.yml $WORKSPACE/apps/workbench/config/application.yml
cd $WORKSPACE/apps/workbench