Information Technology Reference
In-Depth Information
</listeners>
<modificationset quietperiod="30">
<svn RepositoryLocation="http://build.ib.com/trunk/brewery"
username="bfranklin"
password="G0Fly@Kite"/>
</modificationset>
<schedule interval ="300">
<ant anthome="apache-ant-1.6.5" buildfile ="bld-{project.name}.xml"/>
</schedule>
<log dir="logs/${project.name}">
<merge dir="projects/${project.name}/impl/logs/junit"/>
<merge dir="projects/${project.name}/impl/logs/cobertura"/>
</log>
<publishers>
<artifactspublisher dir="projects/${project.name}/impl/logs"
dest="artifacts/${project.name}"/>
<artifactspublisher dir="projects/${project.name}/impl/logs"
dest="artifacts/${project.name}"/>
</publishers>
</project>
In Listing 1-3, the interval attribute of the schedule task indi-
cates how often CruiseControl will check for changes in the Subver-
sion repository (in this example, 300 seconds). If CruiseControl finds
any modifications, it executes a delegating build (called using the
buildfile attribute in Listing 1-3). The delegating build (not shown)
retrieves the latest source code from the repository and executes the
project build file, such as the one in Listing 1-3. Other CI servers may
use a Web-based configuration or other interface for administration.
CruiseControl comes with a Web application so that you can view the
results of the latest build and view build reports (such as test and
inspection reports). Figure 1-2 illustrates an example of CruiseControl
build results for a project.
FIGURE 1-2
CruiseControl dashboard displaying the latest build status
Search WWH ::




Custom Search