|
This page last changed on Jun 29, 2007 by williams.
The Schedule Trigger is used to specify that an integration should be run at a certain time on certain days. By default, an integration will only be triggered if modifications have been detected since the last integration. The trigger can be configured to force a build even if have occurred to source control. The items to watch for modifications are specified with Source Control Blocks.
Example
<scheduleTrigger time="23:30" buildCondition="ForceBuild" name="Scheduled">
<weekDays>
<weekDay>Monday</weekDay>
</weekDays>
</scheduleTrigger>
Configuration Elements:
| Node |
Description |
Type |
Required |
Default |
| time |
The time of day that the build should run at. The time should be specified in a locale-specific format (ie. H:mm am/pm is acceptable for US locales.) |
string |
true |
n/a |
| weekDays |
The week days on which the build should be run (eg. Monday, Tuesday). By default, all days of the week are set. |
elements |
false |
Monday-Sunday |
| buildCondition |
The condition that should be used to launch the integration. By default, this value is IfModificationExists, meaning that an integration will only be triggered if modifications have been detected. Set this attribute to ForceBuild in order to ensure that a build should be launched regardless of whether new modifications are detected. The items to watch for modifications are specified with Source Control Blocks. |
string |
false |
IfModificationExists |
| name |
The name of the trigger. This name is passed to external tools as a means to identify the trigger that requested the build. (Added in CCNet 1.1) |
string |
false |
ScheduleTrigger |
NOTE: this class replaces the PollingScheduleTrigger and the ForceBuildScheduleTrigger. Use the buildCondition property if you want to run a scheduled forced build.
|