diff --git a/core/src/main/java/hudson/tasks/BuildStep.java b/core/src/main/java/hudson/tasks/BuildStep.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/tasks/BuildStep.java
+++ b/core/src/main/java/hudson/tasks/BuildStep.java
@@ -69,7 +69,7 @@ public interface BuildStep {
         Fingerprinter.DESCRIPTOR,
         JavadocArchiver.DESCRIPTOR,
         JUnitResultArchiver.DESCRIPTOR,
-        Mailer.DESCRIPTOR,
-        BuildTrigger.DESCRIPTOR
+        BuildTrigger.DESCRIPTOR,
+        Mailer.DESCRIPTOR
     );
 }
mailer and other notifiers should come at the end so that reporting happens after everything that can go wrong went wrong.


git-svn-id: <URL>