The promotion is not restricted to successful deliveries. If you want to promote a failed delivery you are allowed to do it.
Check the Accepted for promotion checkbox, and the promotion for this delivery will be enabled.
By default, only deliveries with status OK has the Accepted for promotion enabled.
Once you click Promote to baseline, you are asked for a new label for the baseline. By default, the delivery label is proposed.
Promote to baseline = the selected delivery will be used to generate the new baseline.
Promote all candidates = all deliveries with Accepted for promotion enabled will be used. The deliveries are grouped by provider, and a new baseline will be generated for each provider.
The promotion analysis is added to an execution queue. Once it is finished, the results are shown in the application Dashboard as a new baseline analysis. This analysis will contain a legend that indicates that the baseline comes from a delivery analysis.
Only deliveries done on the last baseline can be promoted to a new baseline. The other deliveries will have the Promote to baseline link disabled.
If your delivery does not have a related baseline analysis, it can also be promoted.