Set retention, queue, and stop options
For any chain, you can set a policy for retaining chain runs and define the conditions for stopping the chain. You can also instruct PulseUno to queue only one copy of the chain at any time.
To configure chain settings:
- From the spaces list at the top right, select a space.
On the Products page, open the product or Git repository where the chain is located.
In the sidebar, select Chains.
Open a chain from the chain list and click Edit.
In the chain's editing window, select the Options tab and define the following options:
Option Description Stop early
Select to stop a chain as soon as one of its steps fails.
You can use this option as an alternative to the Halt on Failure plugin step.
Example: You may have a chain with multiple steps where the last step is a build. If any of the earlier steps fails, the chain stops, and the build isn't triggered.
Stop execution after Specify the number of minutes after which the chain run is stopped. To run the chain indefinitely, enter 0 or leave the field empty. Limit queued chains Select to allow only one run of this chain to be in the queue. Retention policy
Select a policy for keeping chain runs. For details on how to add retention policies, see Create retention policies.
Tip: You can override the retention policy for individual chain runs and choose to keep them forever. For details, see View chain run details.