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 projectPath,
String sonarURL,
String path,
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() |
String |
getPath() |
String |
getProjectPath() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getSeverity() |
String |
getSomeIssuesToPostText() |
String |
getSonarURL() |
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 projectPath, String sonarURL, String path, 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 getPath()
public String getSeverity()
public boolean isChangedLinesOnly()
public boolean isNewIssuesOnly()
public String getSonarURL()
public String getNoIssuesToPostText()
public String getSomeIssuesToPostText()
public String getIssueComment()
public String getProjectPath()
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 SonarToGerritPublisher.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Publisherpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
Copyright © 2004-2015. All Rights Reserved.