sleep
Description
Stops the execution of the build script for a set period of time. Useful if certain steps require an interval before executing.
Parameters
Table 7. Parameters
Attribute | Type | Description | Required |
---|---|---|---|
hours | int | Number of hours to pause for. Default value is 0. | false |
minutes | int | Number of minutes to pause for. Default value is 0. | false |
seconds | int | Number of seconds to pause for. Default value is 0. | false |
milliseconds | int | Number of milliseconds to pause for. Default value is 0. | false |
if | bool | If true, the task will be executed, otherwise it will be skipped. The default is true. | false |
unless | bool | The opposite of if. If false, the task will be executed, otherwise it will be skipped. The default is false. | false |