Package hudson.plugins.sonar
Class SonarBuildWrapper
java.lang.Object
hudson.model.AbstractDescribableImpl<BuildWrapper>
hudson.tasks.BuildWrapper
jenkins.tasks.SimpleBuildWrapper
hudson.plugins.sonar.SonarBuildWrapper
- All Implemented Interfaces:
ExtensionPoint,Describable<BuildWrapper>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class jenkins.tasks.SimpleBuildWrapper
SimpleBuildWrapper.Context, SimpleBuildWrapper.DisposerNested classes/interfaces inherited from class hudson.tasks.BuildWrapper
BuildWrapper.EnvironmentNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateLoggerDecorator(Run<?, ?> build) booleanvoidsetCredentialsId(String credentialsId) voidsetEnvOnly(boolean envOnly) voidsetInstallationName(String installationName) voidsetUp(SimpleBuildWrapper.Context context, Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment) Methods inherited from class jenkins.tasks.SimpleBuildWrapper
createContext, decorateLauncher, decorateLogger, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, requiresWorkspace, runPreCheckout, setUp, setUpMethods inherited from class hudson.tasks.BuildWrapper
all, getProjectAction, setUpMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
SonarBuildWrapper
-
-
Method Details
-
getCredentialsId
-
setCredentialsId
-
isEnvOnly
public boolean isEnvOnly() -
setEnvOnly
@DataBoundSetter public void setEnvOnly(boolean envOnly) -
setUp
public void setUp(SimpleBuildWrapper.Context context, Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment) throws IOException, InterruptedException- Overrides:
setUpin classSimpleBuildWrapper- Throws:
IOExceptionInterruptedException
-
createLoggerDecorator
- Overrides:
createLoggerDecoratorin classSimpleBuildWrapper
-
getInstallationName
- Returns:
- name of
SonarInstallation
-
setInstallationName
-