public class SonarToGerritPublisher
extends hudson.tasks.Publisher
| Modifier and Type | Class and Description |
|---|---|
static class |
SonarToGerritPublisher.DescriptorImpl
Descriptor for
SonarToGerritPublisher. |
| Modifier and Type | Field and Description |
|---|---|
static String |
EMPTY_STR |
static String |
GERRIT_CHANGE_NUMBER_ENV_VAR_NAME |
static String |
GERRIT_FILE_DELIMITER |
static String |
GERRIT_NAME_ENV_VAR_NAME |
static String |
GERRIT_PATCHSET_NUMBER_ENV_VAR_NAME |
| Constructor and Description |
|---|
SonarToGerritPublisher(String sonarURL,
List<SubJobConfig> subJobConfigs,
String severity,
boolean changedLinesOnly,
boolean newIssuesOnly,
String noIssuesToPostText,
String someIssuesToPostText,
String issueComment,
boolean postScore,
String category,
String noIssuesScore,
String issuesScore,
String noIssuesNotification,
String issuesNotification) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCategory() |
SonarToGerritPublisher.DescriptorImpl |
getDescriptor() |
String |
getIssueComment() |
String |
getIssuesNotification() |
String |
getIssuesScore() |
String |
getNoIssuesNotification() |
String |
getNoIssuesScore() |
String |
getNoIssuesToPostText() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getSeverity() |
String |
getSomeIssuesToPostText() |
String |
getSonarURL() |
List<SubJobConfig> |
getSubJobConfigs() |
List<SubJobConfig> |
getSubJobConfigs(boolean addDefault) |
boolean |
isChangedLinesOnly() |
boolean |
isNewIssuesOnly() |
boolean |
isPostScore() |
boolean |
perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuildpublic static final String GERRIT_FILE_DELIMITER
public static final String EMPTY_STR
public static final String GERRIT_CHANGE_NUMBER_ENV_VAR_NAME
public static final String GERRIT_NAME_ENV_VAR_NAME
public static final String GERRIT_PATCHSET_NUMBER_ENV_VAR_NAME
@DataBoundConstructor public SonarToGerritPublisher(String sonarURL, List<SubJobConfig> subJobConfigs, String severity, boolean changedLinesOnly, boolean newIssuesOnly, String noIssuesToPostText, String someIssuesToPostText, String issueComment, boolean postScore, String category, String noIssuesScore, String issuesScore, String noIssuesNotification, String issuesNotification)
public String getSeverity()
public boolean isChangedLinesOnly()
public boolean isNewIssuesOnly()
public String getSonarURL()
public String getNoIssuesToPostText()
public String getSomeIssuesToPostText()
public String getIssueComment()
public boolean isPostScore()
public String getCategory()
public String getNoIssuesScore()
public String getNoIssuesNotification()
public String getIssuesNotification()
public String getIssuesScore()
public boolean perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerIOExceptionInterruptedExceptionpublic List<SubJobConfig> getSubJobConfigs()
public List<SubJobConfig> getSubJobConfigs(boolean addDefault)
public SonarToGerritPublisher.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Publisherpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
Copyright © 2016. All Rights Reserved.