[ARVADOS-DEV] updated: c1ab6401ba557f8ca015eb462f8bbba692c7b88a

git at public.curoverse.com git at public.curoverse.com
Wed Oct 8 10:57:04 EDT 2014


Summary of changes:
 jenkins/run-diagnostics-suite.sh | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

       via  c1ab6401ba557f8ca015eb462f8bbba692c7b88a (commit)
      from  0ec1187c3f9b73dec2078ddfd98d3a248c3a1648 (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 c1ab6401ba557f8ca015eb462f8bbba692c7b88a
Author: Ward Vandewege <ward at curoverse.com>
Date:   Wed Oct 8 10:56:24 2014 -0400

    Allow for run-diagnostics-suite.sh to pull the git revision to test from
    a configuration file.
    
    No issue #

diff --git a/jenkins/run-diagnostics-suite.sh b/jenkins/run-diagnostics-suite.sh
index e1229ff..015a053 100755
--- a/jenkins/run-diagnostics-suite.sh
+++ b/jenkins/run-diagnostics-suite.sh
@@ -10,6 +10,22 @@ if [[ "$INSTANCE" == '' ]]; then
   exit 1
 fi
 
+if [[ "$REVISION" == '' ]]; then
+  # See if there's a configuration file with the revision?
+  CONFIG_PATH=/home/jenkins/configuration/$INSTANCE.arvadosapi.com-versions.conf
+  if [[ -f $CONFIG_PATH ]]; then
+    echo "Loading git revision from $CONFIG_PATH"
+    . $CONFIG_PATH
+    REVISION=$ARVADOS_GIT_REVISION
+  fi
+fi
+
+if [[ "$REVISION" != '' ]]; then
+  echo "Git revision is $REVISION"
+else
+  echo "No valid git revision found, proceeding with what is in place."
+fi
+
 # Sanity check
 if ! [[ -n "$WORKSPACE" ]]; then
   echo "WORKSPACE environment variable not set"

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list