Game Development Reference
In-Depth Information
<logger>C:\Program Files\CruiseControl.NET\server\ThoughtWorks
.CruiseControl.MsBuild.dll</logger>
</msbuild>
</tasks>
<publishers>
<statistics />
<xmllogger logDir=".\XMLLogsc"/>
<modificationHistory onlyLogWhenChangesFound="true" />
<artifactcleanup cleanUpMethod="KeepLastXBuilds"
cleanUpValue="50" />
<email from="Servername@gmail.com" mailhost=
"smtp.gmail.com" mailport="587" includeDetails
="TRUE"
mailhostUsername="Servername@YourCompany.com"
mailhostPassword= "AwesomeServer" useSSL="TRUE">
<users>
<user name="Build Master" group="buildmaster" address=
"BuildMaster@YourCompany.com"/>
<user name="Coder person" group="codeteam" address=
"CodeTeam@YourCompany.com"/>
</users>
<groups>
<group name="buildmaster" notification="always"/>
<group name="codeteam" notification="change,failed,
success"/>
</groups>
<modifierNotificationTypes>
<NotificationType>Failed</NotificationType>
<NotificationType>Fixed</NotificationType>
<NotificationType>Always</NotificationType>
<NotificationType>Change</NotificationType>
<NotificationType>Success</NotificationType>
</modifierNotificationTypes>
<attachments>
<file>C:\Data\LogFile.txt</file>
</attachments>
</email>
</publishers>
</project>
</cruisecontrol>
Listing 4.7. The ”Email Publisher” allows you to send emails to individuals or specific
groups of people.
In order for the Web Dashboard to function properly, we need to define the
<xmllogger> tag and specify where to dump the files. The <modificationhistory>
tag notes changes between builds and will keep a log of them. We can then specify
dumping to only log items when there are changes to save space on the server. The
<statistics> tag must come first after the file merges in order to keep track of file
merges. It will also generate stats of broken builds versus good builds over time.
Search WWH ::




Custom Search