When you build a REPEAT step, you set the Repeat on property to specify the condition (success or failure) that will cause its children to re-execute at run time.
If you set “Repeat on” to…
The REPEAT step…
FAILURE
Re-executes the set of child steps if any step in the set fails.
SUCCESS
Re-executes the set of child steps if all steps in the set complete successfully.