Package io.jenkins.plugins.wxwork
Class WxWorkNotifier
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
io.jenkins.plugins.wxwork.WxWorkNotifier
- All Implemented Interfaces:
ExtensionPoint,Describable<Publisher>,BuildStep
WxWorkNotifier
Post-build Action for FreeStyle project to send WeChat Work notification
- Author:
- nekoimi 2025/12/XX
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImplNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()booleanperform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) voidvoidsetAtAll(boolean atAll) voidsetAtMe(boolean atMe) voidsetFailureContent(String failureContent) voidsetImageUrl(String imageUrl) voidsetNotifyFailure(boolean notifyFailure) voidsetNotifyRecovery(boolean notifyRecovery) voidsetNotifySuccess(boolean notifySuccess) voidsetNotifyUnstable(boolean notifyUnstable) voidsetRecoveryContent(String recoveryContent) voidsetSuccessContent(String successContent) voidvoidsetUnstableContent(String unstableContent) Methods inherited from class hudson.tasks.Notifier
getDescriptorMethods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.BuildStep
getRequiredMonitorService
-
Constructor Details
-
WxWorkNotifier
-
-
Method Details
-
getType
-
getRecoveryContent
-
setType
-
setNotifySuccess
@DataBoundSetter public void setNotifySuccess(boolean notifySuccess) -
setNotifyFailure
@DataBoundSetter public void setNotifyFailure(boolean notifyFailure) -
setNotifyUnstable
@DataBoundSetter public void setNotifyUnstable(boolean notifyUnstable) -
setNotifyRecovery
@DataBoundSetter public void setNotifyRecovery(boolean notifyRecovery) -
setSuccessContent
-
setFailureContent
-
setUnstableContent
-
setRecoveryContent
-
setAtMe
@DataBoundSetter public void setAtMe(boolean atMe) -
setAtAll
@DataBoundSetter public void setAtAll(boolean atAll) -
setAt
-
setImageUrl
-
perform
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceBuildStep- Overrides:
performin classBuildStepCompatibilityLayer- Throws:
InterruptedExceptionIOException
-