public class PhabricatorNotifier
extends hudson.tasks.Notifier
implements jenkins.tasks.SimpleBuildStep
hudson.tasks.Publisher.DescriptorExtensionListImpl
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Constructor and Description |
---|
PhabricatorNotifier(boolean commentOnSuccess,
boolean uberallsEnabled,
boolean coverageCheck,
double coverageThreshold,
double minCoverageThreshold,
java.lang.String coverageReportPattern,
boolean preserveFormatting,
java.lang.String commentFile,
java.lang.String commentSize,
boolean commentWithConsoleLinkOnFailure,
boolean customComment,
boolean processLint,
java.lang.String lintFile,
java.lang.String lintFileSize,
boolean sendPartialResults) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommentFile() |
java.lang.String |
getCommentSize() |
java.lang.String |
getCoverageReportPattern() |
double |
getCoverageThreshold() |
PhabricatorNotifierDescriptor |
getDescriptor() |
java.lang.String |
getLintFile() |
java.lang.String |
getLintFileSize() |
double |
getMinCoverageThreshold() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
protected UberallsClient |
getUberallsClient(Logger logger,
java.lang.String gitUrl,
java.lang.String branch) |
boolean |
isCommentOnSuccess() |
boolean |
isCommentWithConsoleLinkOnFailure() |
boolean |
isCoverageCheck() |
boolean |
isCustomComment() |
boolean |
isPreserveFormatting() |
boolean |
isProcessLint() |
boolean |
isSendPartialResults() |
boolean |
isUberallsEnabled() |
void |
perform(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
protected void |
setUberallsClient(UberallsClient client) |
all, getProjectAction, needsToRunAfterFinalized, prebuild
getProjectAction, getProjectActions, perform, perform, prebuild
@DataBoundConstructor public PhabricatorNotifier(boolean commentOnSuccess, boolean uberallsEnabled, boolean coverageCheck, double coverageThreshold, double minCoverageThreshold, java.lang.String coverageReportPattern, boolean preserveFormatting, java.lang.String commentFile, java.lang.String commentSize, boolean commentWithConsoleLinkOnFailure, boolean customComment, boolean processLint, java.lang.String lintFile, java.lang.String lintFileSize, boolean sendPartialResults)
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface hudson.tasks.BuildStep
public final void perform(hudson.model.Run<?,?> build, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener) throws java.lang.InterruptedException, java.io.IOException
perform
in interface jenkins.tasks.SimpleBuildStep
java.lang.InterruptedException
java.io.IOException
protected UberallsClient getUberallsClient(Logger logger, java.lang.String gitUrl, java.lang.String branch)
protected void setUberallsClient(UberallsClient client)
public boolean isCommentOnSuccess()
public boolean isCustomComment()
public boolean isUberallsEnabled()
public boolean isCoverageCheck()
public boolean isCommentWithConsoleLinkOnFailure()
public java.lang.String getCommentFile()
public java.lang.String getCommentSize()
public double getCoverageThreshold()
public double getMinCoverageThreshold()
public java.lang.String getCoverageReportPattern()
public boolean isPreserveFormatting()
public boolean isProcessLint()
public java.lang.String getLintFile()
public java.lang.String getLintFileSize()
public boolean isSendPartialResults()
public PhabricatorNotifierDescriptor getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Publisher>
getDescriptor
in class hudson.tasks.Notifier