geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r679650 - /geronimo/gbuild/daily_build_scripts/gbuild.sh
Date Fri, 25 Jul 2008 03:18:51 GMT
Author: gawor
Date: Thu Jul 24 20:18:50 2008
New Revision: 679650

URL: http://svn.apache.org/viewvc?rev=679650&view=rev
Log:
minor fix

Modified:
    geronimo/gbuild/daily_build_scripts/gbuild.sh

Modified: geronimo/gbuild/daily_build_scripts/gbuild.sh
URL: http://svn.apache.org/viewvc/geronimo/gbuild/daily_build_scripts/gbuild.sh?rev=679650&r1=679649&r2=679650&view=diff
==============================================================================
--- geronimo/gbuild/daily_build_scripts/gbuild.sh (original)
+++ geronimo/gbuild/daily_build_scripts/gbuild.sh Thu Jul 24 20:18:50 2008
@@ -190,12 +190,13 @@
 
      grep -E "BUILD ERROR|FAILURE!|Failed to start Geronimo server" $mergedTestLog
      if [ $? -eq 0 ]
+     then
+       result="failed"
+     else
        # if build and tests passed, then update link to latest build for GEP
        ssh ${REMOTE_ACCOUNT}@${REMOTE_MACHINE} "rm -f $latest_dir"
        ssh ${REMOTE_ACCOUNT}@${REMOTE_MACHINE} "ln -s $bin_dir $latest_dir"
        ssh ${REMOTE_ACCOUNT}@${REMOTE_MACHINE} "chmod g+w $latest_dir"
-     then
-       result="failed"
      fi
 
    fi



Mime
View raw message