public class AddComment
extends hudson.tasks.Recorder
implements hudson.matrix.MatrixAggregatable
Modifier and Type | Class and Description |
---|---|
static class |
AddComment.DescriptorImpl |
hudson.tasks.Publisher.DescriptorExtensionListImpl
Constructor and Description |
---|
AddComment(String prefix,
String note,
String logfile) |
Modifier and Type | Method and Description |
---|---|
boolean |
_perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
hudson.matrix.MatrixAggregator |
createAggregator(hudson.matrix.MatrixBuild matrixbuild,
hudson.Launcher launcher,
hudson.model.BuildListener buildlistener) |
AddComment.DescriptorImpl |
getDescriptor() |
String |
getLogfile() |
String |
getNote() |
String |
getPrefix() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuild
public String getLogfile()
public String getPrefix()
public String getNote()
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface hudson.tasks.BuildStep
public hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild matrixbuild, hudson.Launcher launcher, hudson.model.BuildListener buildlistener)
createAggregator
in interface hudson.matrix.MatrixAggregatable
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws UnsupportedEncodingException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
build
- Build Object of Current buildlauncher
- launcher is responsible for inheriting environment variableslistener
- Receives events that happen during a buildUnsupportedEncodingException
- if the character encoding is not supportedpublic boolean _perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws UnsupportedEncodingException
UnsupportedEncodingException
public AddComment.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Publisher>
getDescriptor
in class hudson.tasks.Recorder
Copyright © 2016–2021. All rights reserved.