Changeset 146376 in webkit
- Timestamp:
- Mar 20, 2013, 12:22:00 PM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r146374 r146376 1 2013-03-20 Roger Fong <roger_fong@apple.com> 2 3 Test fix for Win EWS bots, catch various errors and restart script if necessary. 4 5 * EWSTools/start-queue-win.sh: 6 1 7 2013-03-20 Sami Kyostila <skyostil@chromium.org> 2 8 -
trunk/Tools/EWSTools/start-queue-win.sh
r144997 r146376 3 3 export WEBKIT_BUGZILLA_PASSWORD=$2 4 4 export BOT_ID=$3 5 while : 6 do 7 date 8 echo "TASK: cleaning up old log files." 9 cd ~/win-ews-logs 10 rm -rf win-ews.old 11 mv win-ews.log win-ews.old 12 find ~/win-ews-logs -mtime +7 -exec rm -f {} \; 13 echo "TASK: Starting up" 14 cd ~/WebKit 15 echo "TASK: Cleaning WebKitBuild" 16 rm -rf WebKitBuild 17 date 18 echo "TASK: Cleaning up" 19 svn cleanup 20 date 21 echo "TASK: svn revert -R *" 22 svn revert -R * 23 date 24 echo "TASK: svn status" 25 svn status | grep "?" | awk '{print $2}' | xargs rm -rf 26 date 27 echo "TASK: webkit-patch clean" 28 ~/WebKit/Tools/Scripts/webkit-patch clean 29 date 30 echo "TASK: svn up --non-interactive" 31 svn up --non-interactive 32 date 33 echo "TASK: kill orphaned tasks" 34 taskkill.exe /f /im cl.exe 35 echo "TASK: webkit-patch win-ews" 36 ~/WebKit/Tools/Scripts/webkit-patch win-ews --bot-id=$BOT_ID --no-confirm --exit-after-iteration 10 37 done 5 6 function error_handler() 7 { 8 start_ews 9 } 10 11 function start_ews() 12 { 13 trap 'error_handler ${LINENO} $?' ERR 14 15 while : 16 do 17 date 18 echo "TASK: cleaning up old log files." 19 cd ~/win-ews-logs 20 rm -rf win-ews.old 21 mv win-ews.log win-ews.old 22 find ~/win-ews-logs -mtime +7 -exec rm -f {} \; 23 echo "TASK: Starting up" 24 cd ~/WebKit 25 echo "TASK: Cleaning WebKitBuild" 26 rm -rf WebKitBuild 27 date 28 echo "TASK: Cleaning up" 29 svn cleanup 30 date 31 echo "TASK: svn revert -R *" 32 svn revert -R * 33 date 34 echo "TASK: svn status" 35 svn status | grep "?" | awk '{print $2}' | xargs rm -rf 36 date 37 echo "TASK: webkit-patch clean" 38 ~/WebKit/Tools/Scripts/webkit-patch clean 39 date 40 echo "TASK: svn up --non-interactive" 41 svn up --non-interactive 42 date 43 echo "TASK: kill orphaned tasks" 44 taskkill.exe /f /im cl.exe 45 echo "TASK: webkit-patch win-ews" 46 ~/WebKit/Tools/Scripts/webkit-patch win-ews --bot-id=$BOT_ID --no-confirm --exit-after-iteration 10 47 done 48 } 49 50 start_ews
Note:
See TracChangeset
for help on using the changeset viewer.