Sleep
The sleep command is used to pause the build for a specified interval. It can be used to wait for some external side effect to take place, or to assist debugging.
Attributes
| Attribute |
Description |
Required? |
Default |
| force |
If true, the command will run even if an earlier command failed. |
No |
false |
| interval |
The number of milliseconds to pause for. |
No |
0 |
| name |
The name of the command. |
Yes (unless provided on a surrounding command element. |
|
Child Elements
None.
Example
Pause for 10 seconds:
<sleep name="ten" interval="10000"/>