Package com.mathworks.polyspace.jenkins
Class PolyspaceBuildWrapper
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<BuildWrapper>
-
- hudson.tasks.BuildWrapper
-
- jenkins.tasks.SimpleBuildWrapper
-
- com.mathworks.polyspace.jenkins.PolyspaceBuildWrapper
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<BuildWrapper>
public class PolyspaceBuildWrapper extends SimpleBuildWrapper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PolyspaceBuildWrapper.DescriptorImpl
-
Nested classes/interfaces inherited from class jenkins.tasks.SimpleBuildWrapper
SimpleBuildWrapper.Context, SimpleBuildWrapper.Disposer
-
Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper
BuildWrapper.Environment
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description PolyspaceBuildWrapper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PolyspaceBuildWrapper.DescriptorImpl
descriptor()
String
getBinConfig()
PolyspaceBuildWrapper.DescriptorImpl
getDescriptor()
String
getMetricsConfig()
String
getPolyspaceAccessCredentialId()
static String
getPolyspaceAccessPassword(String credentialId)
static String
getPolyspaceAccessUser(String credentialId)
String
getServerConfig()
static String
getUnsetValue()
String
getValue(String value, String default_value)
void
setBinConfig(String binConfig)
void
setMetricsConfig(String metricsConfig)
void
setPolyspaceAccessCredentialId(String polyspaceAccessCredentialId)
void
setServerConfig(String serverConfig)
void
setUp(SimpleBuildWrapper.Context context, Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment)
-
Methods inherited from class jenkins.tasks.SimpleBuildWrapper
createContext, createLoggerDecorator, decorateLauncher, decorateLogger, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, requiresWorkspace, runPreCheckout, setUp, setUp
-
Methods inherited from class hudson.tasks.BuildWrapper
all, getProjectAction, setUp
-
-
-
-
Method Detail
-
setServerConfig
@DataBoundSetter public void setServerConfig(String serverConfig)
-
setPolyspaceAccessCredentialId
@DataBoundSetter public void setPolyspaceAccessCredentialId(String polyspaceAccessCredentialId)
-
setBinConfig
@DataBoundSetter public void setBinConfig(String binConfig)
-
setMetricsConfig
@DataBoundSetter public void setMetricsConfig(String metricsConfig)
-
setUp
public void setUp(SimpleBuildWrapper.Context context, Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment) throws IOException, InterruptedException
- Overrides:
setUp
in classSimpleBuildWrapper
- Throws:
IOException
InterruptedException
-
getServerConfig
public String getServerConfig()
-
getPolyspaceAccessCredentialId
public String getPolyspaceAccessCredentialId()
-
getBinConfig
public String getBinConfig()
-
getMetricsConfig
public String getMetricsConfig()
-
getUnsetValue
public static final String getUnsetValue()
-
getDescriptor
public PolyspaceBuildWrapper.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<BuildWrapper>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<BuildWrapper>
-
descriptor
public static PolyspaceBuildWrapper.DescriptorImpl descriptor()
-
-