[ARVADOS] updated: f1e8147878e4c940f22ef0dd25355e404375dc11

Git user git at public.curoverse.com
Mon May 16 17:35:27 EDT 2016


Summary of changes:
 build/run-build-packages-python-and-ruby.sh | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

       via  f1e8147878e4c940f22ef0dd25355e404375dc11 (commit)
      from  294aaf25b9c2088a20df74d41ced9dc907463d48 (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 f1e8147878e4c940f22ef0dd25355e404375dc11
Author: Ward Vandewege <ward at curoverse.com>
Date:   Mon May 16 17:33:44 2016 -0400

    When running run-build-packages-python-and-ruby.sh with --debug, pass
    --verbose to the upload command.
    
    refs #9224

diff --git a/build/run-build-packages-python-and-ruby.sh b/build/run-build-packages-python-and-ruby.sh
index 23ddc9a..85a6048 100755
--- a/build/run-build-packages-python-and-ruby.sh
+++ b/build/run-build-packages-python-and-ruby.sh
@@ -172,6 +172,12 @@ fi
 
 if [[ "$UPLOAD" != 0 ]]; then
 
+  if [[ $DEBUG > 0 ]]; then
+    EXTRA_UPLOAD_FLAGS=" --verbose"
+  else
+    EXTRA_UPLOAD_FLAGS=""
+  fi
+
   if [[ ! -e "$WORKSPACE/packages" ]]; then
     mkdir -p "$WORKSPACE/packages"
   fi
@@ -180,7 +186,7 @@ if [[ "$UPLOAD" != 0 ]]; then
   timer_reset
 
   if [ "$PYTHON_BUILD_FAILURES" -eq 0 ]; then
-    /usr/local/arvados-dev/jenkins/run_upload_packages.py -v --workspace $WORKSPACE python
+    /usr/local/arvados-dev/jenkins/run_upload_packages.py -v$EXTRA_UPLOAD_FLAGS --workspace $WORKSPACE python
   else
     echo "Skipping python packages upload, there were errors building the packages"
   fi
@@ -191,7 +197,7 @@ if [[ "$UPLOAD" != 0 ]]; then
   timer_reset
 
   if [ "$GEM_BUILD_FAILURES" -eq 0 ]; then
-    /usr/local/arvados-dev/jenkins/run_upload_packages.py -v --workspace $WORKSPACE gems
+    /usr/local/arvados-dev/jenkins/run_upload_packages.py -v$EXTRA_UPLOAD_FLAGS --workspace $WORKSPACE gems
   else
     echo "Skipping ruby gem upload, there were errors building the packages"
   fi

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list