[ARVADOS-DEV] updated: 0ec1187c3f9b73dec2078ddfd98d3a248c3a1648
git at public.curoverse.com
git at public.curoverse.com
Tue Oct 7 23:05:14 EDT 2014
Summary of changes:
jenkins/run-diagnostics-suite.sh | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
via 0ec1187c3f9b73dec2078ddfd98d3a248c3a1648 (commit)
from 0d50b5b6183156ba3dbe1d6fe16588dccfcdc962 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 0ec1187c3f9b73dec2078ddfd98d3a248c3a1648
Author: Ward Vandewege <ward at curoverse.com>
Date: Tue Oct 7 23:04:52 2014 -0400
Allow specification of revision to test with diagnostics suite.
No issue #
diff --git a/jenkins/run-diagnostics-suite.sh b/jenkins/run-diagnostics-suite.sh
index dfd03a8..e1229ff 100755
--- a/jenkins/run-diagnostics-suite.sh
+++ b/jenkins/run-diagnostics-suite.sh
@@ -3,9 +3,10 @@
EXITCODE=0
INSTANCE=$1
+REVISION=$2
if [[ "$INSTANCE" == '' ]]; then
- echo "Syntax: $0 <instance>"
+ echo "Syntax: $0 <instance> [revision]"
exit 1
fi
@@ -36,6 +37,10 @@ timer_reset
cd $WORKSPACE
+if [[ "$REVISION" != '' ]]; then
+ git checkout $REVISION
+fi
+
cp -f /home/jenkins/diagnostics/arvados-workbench/$INSTANCE-application.yml $WORKSPACE/apps/workbench/config/application.yml
cd $WORKSPACE/apps/workbench
@@ -50,6 +55,10 @@ RAILS_ENV=diagnostics bundle exec rake TEST=test/diagnostics/pipeline_test.rb
ECODE=$?
+if [[ "$REVISION" != '' ]]; then
+ git checkout master
+fi
+
if [[ "$ECODE" != "0" ]]; then
title "!!!!!! DIAGNOSTICS FAILED (`timer`) !!!!!!"
EXITCODE=$(($EXITCODE + $ECODE))
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list