Hello,
While the Recorder, then Notifier order is documented in the documentation:
, it seems not to be enforced by Jenkins.
IIUC, this change has some order-enforcement mechanism via the order of publishers in the job ui, through the
Publisher.DescriptorExtensionListImpl, which sorts the publishers according to their types.
This behavior can still be seen in Jenkins job configuration ui, where the potential publishers list is sorted by types, and where adding one in the jobs adds in at the same position that the one it has in the list of potential publishers.
I failed to find any other mecanism taking care of this order in the rest of the code.
While this was probably enough at some point, now that we can reorder steps by drag & dropping, and that we can do declarative pipelines, I think it is void today.
Is this issue already known from core team ? Are there any plans that will make it void for the future, or is it something that needs to be fixed?
Arnaud