[ARVADOS-DEV] updated: ef45c8676d34405a2c99ffa51c258b8cb7b6777a

git at public.curoverse.com git at public.curoverse.com
Wed Jun 10 10:27:49 EDT 2015


Summary of changes:
 jenkins/run-cwl-tests.sh | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

       via  ef45c8676d34405a2c99ffa51c258b8cb7b6777a (commit)
      from  fbce5ceda30fd45c1834d487ed882f394352ef8a (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 ef45c8676d34405a2c99ffa51c258b8cb7b6777a
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Wed Jun 10 10:28:01 2015 -0400

    Since jenkins reuses working directories, handle updating existing git repo of
    common-workflow-language site that will be automatically pushed.  no issue #

diff --git a/jenkins/run-cwl-tests.sh b/jenkins/run-cwl-tests.sh
index ac7de4f..1a15e56 100755
--- a/jenkins/run-cwl-tests.sh
+++ b/jenkins/run-cwl-tests.sh
@@ -185,8 +185,15 @@ virtualenv ../venv
 python setup.py install
 cd ..
 
-git clone git at github.com:common-workflow-language/common-workflow-language.github.io.git
-python -mcwltool specification/cwlsite.cwl specification/cwlsite-job.json --outdir=common-workflow-language.github.io
+if test -d common-workflow-language.github.io ; then
+    cd common-workflow-language.github.io
+    git fetch
+    git reset --hard origin/master
+    cd ..
+else
+    git clone git at github.com:common-workflow-language/common-workflow-language.github.io.git
+fi
+python -mcwltool specification/cwlsite.cwl specification/cwlsite-job.json --outdir=$PWD/common-workflow-language.github.io
 cd common-workflow-language.github.io
 git add --all
 git commit -m"Build bot"

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list