Package hudson.maven.reporters
Class MavenMailer
java.lang.Object
hudson.maven.MavenReporter
hudson.maven.reporters.MavenMailer
- All Implemented Interfaces:
ExtensionPoint
,MavenProjectActionBuilder
,Describable<MavenReporter>
,Serializable
Sends out an e-mail notification for Maven build result.
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Modifier and TypeFieldDescriptionboolean
negative sense is historicalnot data-bound; set byMavenModule
boolean
boolean
-
Constructor Summary
ConstructorDescriptionDeprecated.MavenMailer
(String recipients, boolean notifyEveryUnstableBuild, boolean sendToIndividuals, boolean perModuleEmail) -
Method Summary
Modifier and TypeMethodDescriptionboolean
end
(MavenBuild build, Launcher launcher, BuildListener listener) Called after the maven execution finished and the result is determined.boolean
Methods inherited from class hudson.maven.MavenReporter
enterModule, getAggregatedProjectAction, getDescriptor, getProjectAction, getProjectActions, leaveModule, postBuild, postExecute, preBuild, preExecute, reportGenerated
-
Field Details
-
recipients
-
mavenRecipients
not data-bound; set byMavenModule
-
dontNotifyEveryUnstableBuild
public boolean dontNotifyEveryUnstableBuildnegative sense is historical -
sendToIndividuals
public boolean sendToIndividuals -
perModuleEmail
public boolean perModuleEmail
-
-
Constructor Details
-
MavenMailer
Deprecated. -
MavenMailer
@DataBoundConstructor public MavenMailer(String recipients, boolean notifyEveryUnstableBuild, boolean sendToIndividuals, boolean perModuleEmail)
-
-
Method Details
-
isNotifyEveryUnstableBuild
public boolean isNotifyEveryUnstableBuild() -
end
public boolean end(MavenBuild build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException Description copied from class:MavenReporter
Called after the maven execution finished and the result is determined.This method fires after
MavenReporter.postBuild(MavenBuildProxy, MavenProject, BuildListener)
. Works likeBuildStepCompatibilityLayer.perform(Build, Launcher, BuildListener)
.- Overrides:
end
in classMavenReporter
- Throws:
InterruptedException
IOException
-
getAllRecipients
-