BusyB: The Repeat Trigger


Introduction

News

Reference

Installation

Quick Start

Download

The repeat trigger is very simple. It just triggers a new build at defined intervals.

<project>

    <repeat>
        <interval>60 seconds</interval>
    </repeat>

    <build>
      ... build sub elements...
    </build>

</project>

The repeat trigger tells BusyB to wait the specified period of time and then to build the project, wait again, build again, and so on, ad infinitum. In other words, <repeat> will build your project every so often, forever. If forever is too much for you, you can specify the number of times that repeat should trigger a build with the <count> element. The count element is show in the example below:

<project>

    <repeat>
        <interval>1 hour</interval>
        <count>24</count>
    </repeat>

    <build>
      ... build sub elements...
    </build>

</project>

If you ran the example above, busyb would fire one build per hour for about 1 day and then exit.