Game Development Reference
In-Depth Information
<triggers>
<scheduleTrigger time="00:00" buildCondition="ForceBuild"
name="Scheduled">
<weekDays>
<weekDay>Monday</weekDay>
<weekDay>Tuesday</weekDay>
<weekDay>Wednesday</weekDay>
<weekDay>Thursday</weekDay>
<weekDay>Friday</weekDay>
</weekDays>
</scheduleTrigger>
</triggers>
<sourcecontrol type="p4">
<view>//depot/MyProject/...</view>
<executable>C:\Program Files\Perforce\p4.exe</executable>
<client>MyServerWorkspace</client>
<user>JohnSmith</user>
<password>SuperSecretPassword1234</password>
<port>YourSourceControlMachine:1666</port>
<timeZoneOffset>0</timeZoneOffset>
<autoGetSource>true</autoGetSource>
<forceSync>false</forceSync>
</sourcecontrol>
Listing 4.1. A snippet of a typical CCNet config file.
The heart of CCNet is the automated integration server. The server is configured
through an XML interface. It defines what tasks to do when there are updates
to your source control project. Listing 4.1 shows a snippet of the server XML
configuration.
The Web Dashboard is a website that the server can host and from which
relevant information can be relayed. Clients can also trigger builds through the
website interface. Moreover, the server can display statistics of build results. In
Figure 4.1. TheWebDashboardinaction.
 
Search WWH ::




Custom Search