Beruflich Dokumente
Kultur Dokumente
Rev 1
AGENDA
Rev 2
What is Continuous Integration(CI)?
Rev 3
CruiseControl Overview
CruiseContol is JAVA based
• Continuous Integration Platform
• Apache-Licensed Open-Source Project
• Designed for Extension
• Fully matured framework for scheduling integration tasks and reporting their
results.
• CruiseControl is composed of 3 main modules:
• Build loop: core of the system, it triggers build cycles then notifies various
listeners (users) using various publishing techniques. The trigger can be
internal (scheduled or upon changes in a SCM) or external. It is configured
in a xml file which maps the build cycles to certain tasks, thanks to a
system of plugins. Depending on configuration, it may produce build
artifacts.
• jsp reporting application allows the users to browse the results of the builds
and access the artifacts
Rev 4
CruiseControl Architecture
Rev 5
Configuring CruiseControl
Rev 6
Helium /CruiseControl Build Flow
• Symbian Foundation(SF) distributes CI tool CruiseControl as part of PDT Kit
• CruiseControl Should be configured to run Scheduled SF Package /
Platform build using Helium build Framework
• CruiseControl Configuration file(XML) to run package or platform build not
available from SF
CruiseControl
config.xml file
Helium builds
the package
Rev 7
Install & Run CruiseControl package build
• Run \Tools\PDT_1.0\helium\external\CruiseControl\Cruisecontrol.bat to
configure CruiseControl build server.
Rev 8
Hudson Vs CruiseControl
CruiseControl Vs Hudson Feature Comparison
Feature CruiseControl Hudson Feature CruiseControl Hudson
Rev 9
Hudson Advantages
• Large Number of Projects
Given a potentially larger number of build jobs, the 'view' feature of Hudson
is very useful. Related jobs are shown on one view page.
• Multiple JDKs
If more than one Java version is to be supported, CruiseControl is
awkward: it is necessary to set up more than one server instance, one for
each JDK. Hudson handles multiple JDKs within a single instance.
• Distributed Builds
Hudson can operate in master/slave mode, where a single master
installation provides the web portal and can optionally delegate builds to
one or more slave servers. The web UI hides the actual master/slave
operation from users so that only administrators need be concerned about
the parallelization. The main benefit is that increased build throughput can
be obtained
• Symbian Foundation using “Hudson” and given positive feedback.
Rev 10