Configuring Retry Build Triggers
The retry build trigger automatically adds a new build to the queue if the previous build of the current build configuration has failed.
The following settings are available for the retry build trigger:
Setting | Description |
---|---|
Seconds to wait | Specify seconds to wait before adding a new build to the queue. |
Number of attempts to retry the build | Specify how many times the trigger will try to rerun the failing build. Leave blank to retry unlimited times until the build is successful. |
Trigger a new build with the same revisions | With this option enabled, the retry trigger will rerun a failed build using the same source revisions. This option helps identify build problems that do not depend on the build code: for example, if there are flaky tests in the build configuration or if there was some unforeseen agent compatibility issue. |
Put the newly triggered builds to the queue top | With this option enabled, retried builds will always be put to the queue top. |
Branch filter | Apply a branch filter to rerun failed builds only in branches that match the specified criteria. |