B.56 SleepTask

A task for sleeping a short period of time, useful when a build or deployment process requires an interval between tasks.

Table B.58: Attributes

NameTypeDescriptionDefaultRequired
hours Integer hours to to add to the sleep time0no
minutes Integer minutes to add to the sleep time0no
seconds Integer seconds to add to the sleep time0no
milliseconds Integer milliseconds to add to the sleep time0no
failonerror Boolean flag controlling whether to break the build on an error.trueNo

B.56.1 Example

<sleep seconds="2"/>