|
From: Markus B. <mba...@us...> - 2006-01-08 12:38:50
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.build/cruiseControl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26621 Modified Files: config.xml customTargets.xml Added Files: purgeNightlyBuildWebSite.sh Log Message: delete nightly build directory before publishing new build result and rename test result html file so that browsers don't cache it Index: customTargets.xml =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.build/cruiseControl/customTargets.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** customTargets.xml 29 Dec 2005 09:45:25 -0000 1.2 --- customTargets.xml 8 Jan 2006 12:38:36 -0000 1.3 *************** *** 237,245 **** <!-- exclude the org.rubypeople.rdt-tests-*.zip file --> <exclude name="**/*-tests-*"/> ! </fileset> ! <fileset dir="${eclipseAutomatedTestHome}/results/html"> ! <include name="*.html"/> ! </fileset> </copy> <copy file="${buildDirectory}/workspace-rdt-tests/.metadata/.log" tofile="${buildResultsDirectory}/logs/testsWorkspace.log"/> --- 237,248 ---- <!-- exclude the org.rubypeople.rdt-tests-*.zip file --> <exclude name="**/*-tests-*"/> ! </fileset> </copy> + + <!-- rename the results file, so that every build result file has a unique name and + browsers don't fool users with cached versions --> + <copy file="${eclipseAutomatedTestHome}/results/html/org.rubypeople.rdt.tests.all_.html" + tofile="${buildDirectory}/org.rubypeople.rdt.tests.all_${featureVersion}.html"/> + <copy file="${buildDirectory}/workspace-rdt-tests/.metadata/.log" tofile="${buildResultsDirectory}/logs/testsWorkspace.log"/> --- NEW FILE: purgeNightlyBuildWebSite.sh --- #!/bin/sh ssh -l rubypeople download.rubypeople.org "rm -r ~/subdomains/updatesite/httpdocs/nightly;mkdir ~/subdomains/updatesite/httpdocs/nightly" Index: config.xml =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.build/cruiseControl/config.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** config.xml 29 Dec 2005 09:45:25 -0000 1.2 --- config.xml 8 Jan 2006 12:38:36 -0000 1.3 *************** *** 33,36 **** --- 33,37 ---- dir="checkout/RDT/dist" dest="artifacts/RDT"/> + <execute command="/home/bma/cruiseControlWorkspace/purgeNightlyBuildWebSite.sh"/> <scp sourcedir="checkout/RDT/dist" |