Class SonarToGerritPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
org.jenkinsci.plugins.sonargerrit.SonarToGerritPublisher
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
,SimpleBuildStep
Project: Sonar-Gerrit Plugin Author: Tatiana Didik
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.getPath()
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.void
void
setAuthConfig
(GerritAuthenticationConfig authConfig) void
setCategory
(String category) Deprecated.void
setChangedLinesOnly
(boolean changedLinesOnly) Deprecated.void
setHttpPassword
(String httpPassword) Deprecated.void
setHttpUsername
(String httpUsername) Deprecated.void
setInspectionConfig
(Inspection inspectionConfig) void
setIssueComment
(String issueComment) Deprecated.void
setIssuesNotification
(String notification) Deprecated.void
setIssuesScore
(String score) Deprecated.void
setNewIssuesOnly
(boolean newIssuesOnly) Deprecated.void
setNoIssuesNotification
(String notification) Deprecated.void
setNoIssuesScore
(String score) Deprecated.void
setNoIssuesToPostText
(String noIssuesToPost) Deprecated.void
setNotificationConfig
(NotificationConfig notificationConfig) void
setOverrideCredentials
(boolean overrideCredentials) Deprecated.void
Deprecated.void
setPostScore
(boolean postScore) Deprecated.void
setProjectPath
(String path) Deprecated.void
setReviewConfig
(ReviewConfig reviewConfig) void
setScoreConfig
(ScoreConfig scoreConfig) void
setSeverity
(String severity) Deprecated.void
setSomeIssuesToPostText
(String someIssuesToPost) Deprecated.void
setSonarURL
(String sonarURL) Deprecated.void
setSubJobConfigs
(List<SubJobConfig> subJobConfigs) Deprecated.Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, perform, prebuild
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, perform, prebuild
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Constructor Details
-
SonarToGerritPublisher
@DataBoundConstructor public SonarToGerritPublisher()
-
-
Method Details
-
perform
public void perform(@Nonnull Run<?, ?> run, @Nonnull FilePath filePath, @NonNull EnvVars env, @Nonnull Launcher launcher, @Nonnull TaskListener listener) throws InterruptedException, IOException- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<Publisher>
- Overrides:
getDescriptor
in classNotifier
-
getRequiredMonitorService
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
-
getInspectionConfig
-
getNotificationConfig
-
getReviewConfig
-
getScoreConfig
-
getAuthConfig
-
setInspectionConfig
-
setNotificationConfig
-
setReviewConfig
-
setScoreConfig
-
setAuthConfig
-
setSonarURL
Deprecated. -
setSubJobConfigs
Deprecated. -
setSeverity
Deprecated. -
setNewIssuesOnly
Deprecated. -
setChangedLinesOnly
Deprecated. -
setNoIssuesToPostText
Deprecated. -
setSomeIssuesToPostText
Deprecated. -
setIssueComment
Deprecated. -
setOverrideCredentials
Deprecated. -
setPostScore
Deprecated. -
setCategory
Deprecated. -
setNoIssuesScore
Deprecated. -
setIssuesScore
Deprecated. -
setNoIssuesNotification
Deprecated. -
setIssuesNotification
Deprecated. -
setProjectPath
Deprecated. -
setPath
Deprecated. -
getSonarURL
Deprecated. -
getSubJobConfigs
Deprecated. -
getSeverity
Deprecated. -
isNewIssuesOnly
Deprecated. -
isChangedLinesOnly
Deprecated. -
getNoIssuesToPostText
Deprecated. -
getSomeIssuesToPostText
Deprecated. -
getIssueComment
Deprecated. -
isOverrideCredentials
Deprecated. -
setHttpUsername
Deprecated. -
getHttpUsername
Deprecated. -
setHttpPassword
Deprecated. -
getHttpPassword
Deprecated. -
isPostScore
Deprecated. -
getCategory
Deprecated. -
getNoIssuesScore
Deprecated. -
getIssuesScore
Deprecated. -
getNoIssuesNotification
Deprecated. -
getIssuesNotification
Deprecated. -
getProjectPath
Deprecated. -
getPath
Deprecated.
-