src/utils/qa/weeklybld/doNewBranch.csh 1.30
1.30 2009/05/12 15:25:08 mikep
make sure we wait for any background processes before we exit after an error
Index: src/utils/qa/weeklybld/doNewBranch.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/weeklybld/doNewBranch.csh,v
retrieving revision 1.29
retrieving revision 1.30
diff -b -B -U 4 -r1.29 -r1.30
--- src/utils/qa/weeklybld/doNewBranch.csh 14 Oct 2008 17:07:51 -0000 1.29
+++ src/utils/qa/weeklybld/doNewBranch.csh 12 May 2009 15:25:08 -0000 1.30
@@ -100,8 +100,10 @@
#echo debug: disabled coBranch.csh
./coBranch.csh
if ( $status ) then
echo "Unpack the new branch on BUILDDIR for beta FAILED [${0}: `date`]"
+ echo "Waiting for any other processes to finish"
+ wait
exit 1
endif
echo "Build utils on beta [${0}: `date`]"
@@ -109,8 +111,10 @@
#echo debug: disabled build utils on beta
./buildUtils.csh
if ( $status ) then
echo "Build utils on beta FAILED [${0}: `date`]"
+ echo "Waiting for any other processes to finish"
+ wait
exit 1
endif
echo
@@ -119,10 +123,12 @@
#echo debug: disabled build branch sandbox on beta
./buildBeta.csh
if ( $status ) then
echo "build on beta failed for v$BRANCHNN [${0}: `date`]"
-# echo "v$BRANCHNN build on beta failed." | mail -s "'v$BRANCHNN Build failed on beta'" $USER galt browser-qa
-echo "v$BRANCHNN build on beta failed [${0}: `date`]." | mail -s "'v$BRANCHNN Build failed on beta'" $USER
+ # echo "v$BRANCHNN build on beta failed." | mail -s "'v$BRANCHNN Build failed on beta'" $USER galt browser-qa
+ echo "v$BRANCHNN build on beta failed [${0}: `date`]." | mail -s "'v$BRANCHNN Build failed on beta'" $USER
+ echo "Waiting for any other processes to finish"
+ wait
exit 1
endif
echo "build on beta done for v$BRANCHNN [${0}: `date`]"
echo "v$BRANCHNN built successfully on beta (day 9)." | mail -s "'v$BRANCHNN Build complete on beta (day 9).'" $USER galt kent browser-qa