This page last changed on Dec 07, 2009 by csut017.

Email Subject

This element allows to set specific subject messages according to the state of the build. When a certain state is not specified, a default will be entered.

Version

Available from version 1.0

Examples

<subject buildResult="StillBroken" value="Build is still broken for {CCNetProject}" />

Configuration Elements

Element Description Type Required Default Version
buildResult A build result state, see below for the possible values. String - one of:
  • Success
  • Broken
  • StillBroken
  • Fixed
  • Exception
Yes n/a 1.0
value The value of the subject line, the text to be used for the subject. This may contain variables, see below. String Yes n/a 1.0

Notes

It is also possible to use Integration Properties in this section. For example:

<subjectSettings>
  <subject buildResult="StillBroken" value="Build is still broken for ${CCNetProject}, please check again" />
</subjectSettings>

or:

<subjectSettings>
  <subject buildResult="StillBroken" value="Build is still broken for ${CCNetProject}, the fix failed." />
  <subject buildResult="Broken" value="{CCNetProject} broke at ${CCNetBuildDate} ${CCNetBuildTime } , last checkin(s) by ${CCNetFailureUsers}" />
  <subject buildResult="Exception" value="Serious problem for ${CCNetProject}, it is now in Exception! Check status of network / sourcecontrol" />
</subjectSettings>
Automatically Generated

Documentation generated on Monday, 7 Dec 2009 at 2:55:51 AM

Document generated by Confluence on Jan 23, 2011 08:52