The existing ontrackTrigger trigger deals with only one source (one project + one branch).
Create an ontrackMultiTrigger which can take several projects/branches/promotions as a source. If one of the conditions is met, the trigger will be fired.
Conditions of execution:
if at least one trigger has no source (no build not promotion), the trigger is not fired
if all triggers have a source (build or promotion), and if all parameters are identical to their previous version, the trigger is not fired
if all triggers have a source (build or promotion), and if at least one parameter is different from its previous version, the trigger is fired - all parameters are then filled in
Reuse the code of ontrackTrigger as much as possible.
The existing
ontrackTrigger
trigger deals with only one source (one project + one branch).Create an
ontrackMultiTrigger
which can take several projects/branches/promotions as a source. If one of the conditions is met, the trigger will be fired.Conditions of execution:
Reuse the code of
ontrackTrigger
as much as possible.