public class SonarToGerritBuilder
extends hudson.tasks.Builder
| Modifier and Type | Class and Description |
|---|---|
static class |
SonarToGerritBuilder.DescriptorImpl
Descriptor for
SonarToGerritBuilder. |
| Modifier and Type | Field and Description |
|---|---|
static String |
GERRIT_CHANGE_NUMBER_ENV_VAR_NAME |
static String |
GERRIT_FILE_DELIMITER |
static String |
GERRIT_PATCHSET_NUMBER_ENV_VAR_NAME |
| Constructor and Description |
|---|
SonarToGerritBuilder(String sonarURL,
String path,
String severity,
boolean changedLinesOnly,
boolean isNewIssuesOnly,
String noIssuesToPostText,
String someIssuesToPostText,
String issueComment) |
| Modifier and Type | Method and Description |
|---|---|
SonarToGerritBuilder.DescriptorImpl |
getDescriptor() |
String |
getIssueComment() |
String |
getNoIssuesToPostText() |
String |
getPath() |
Severity |
getSeverity() |
String |
getSomeIssuesToPostText() |
String |
getSonarURL() |
boolean |
isChangedLinesOnly() |
boolean |
isNewIssuesOnly() |
boolean |
perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
public static final String GERRIT_FILE_DELIMITER
public static final String GERRIT_CHANGE_NUMBER_ENV_VAR_NAME
public static final String GERRIT_PATCHSET_NUMBER_ENV_VAR_NAME
public String getPath()
public Severity getSeverity()
public boolean isChangedLinesOnly()
public boolean isNewIssuesOnly()
public String getSonarURL()
public String getNoIssuesToPostText()
public String getSomeIssuesToPostText()
public String getIssueComment()
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 SonarToGerritBuilder.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.BuilderCopyright © 2004-2015. All Rights Reserved.