Class CoverityEnvironmentWrapper
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
-
- hudson.tasks.BuildWrapper
-
- jenkins.tasks.SimpleBuildWrapper
-
- com.synopsys.integration.jenkins.coverity.extensions.wrap.CoverityEnvironmentWrapper
-
- All Implemented Interfaces:
hudson.ExtensionPoint
,hudson.model.Describable<hudson.tasks.BuildWrapper>
public class CoverityEnvironmentWrapper extends jenkins.tasks.SimpleBuildWrapper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CoverityEnvironmentWrapper.DescriptorImpl
-
Nested classes/interfaces inherited from class jenkins.tasks.SimpleBuildWrapper
jenkins.tasks.SimpleBuildWrapper.Context, jenkins.tasks.SimpleBuildWrapper.Disposer
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
FIELD_CLEAN_UP_ACTION
static java.lang.String
FIELD_COVERITY_INSTANCE_URL
static java.lang.String
FIELD_CREDENTIALS_ID
static java.lang.String
FIELD_ON_COMMAND_FAILURE
static java.lang.String
FIELD_PROJECT_NAME
static java.lang.String
FIELD_STREAM_NAME
static java.lang.String
NESTED_DESCRIPTOR_CHECK_FOR_ISSUES
static java.lang.String
NESTED_DESCRIPTOR_CONFIGURE_CHANGE_SET_PATTERNS
static java.lang.String
NESTED_DESCRIPTOR_COVERITY_RUN_CONFIGURATION
-
Constructor Summary
Constructors Constructor Description CoverityEnvironmentWrapper(java.lang.String coverityInstanceUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description hudson.console.ConsoleLogFilter
createLoggerDecorator(hudson.model.Run<?,?> build)
ConfigureChangeSetPatterns
getConfigureChangeSetPatterns()
java.lang.String
getCoverityInstanceUrl()
java.lang.Boolean
getCreateMissingProjectsAndStreams()
java.lang.String
getCredentialsId()
CoverityEnvironmentWrapper.DescriptorImpl
getDescriptor()
java.lang.String
getProjectName()
java.lang.String
getStreamName()
java.lang.String
getViewName()
void
setConfigureChangeSetPatterns(ConfigureChangeSetPatterns configureChangeSetPatterns)
void
setCreateMissingProjectsAndStreams(java.lang.Boolean createMissingProjectsAndStreams)
void
setCredentialsId(java.lang.String credentialsId)
void
setProjectName(java.lang.String projectName)
void
setStreamName(java.lang.String streamName)
void
setUp(jenkins.tasks.SimpleBuildWrapper.Context context, hudson.model.Run<?,?> build, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener, hudson.EnvVars initialEnvironment)
void
setViewName(java.lang.String viewName)
-
-
-
Field Detail
-
FIELD_COVERITY_INSTANCE_URL
public static final java.lang.String FIELD_COVERITY_INSTANCE_URL
- See Also:
- Constant Field Values
-
FIELD_PROJECT_NAME
public static final java.lang.String FIELD_PROJECT_NAME
- See Also:
- Constant Field Values
-
FIELD_STREAM_NAME
public static final java.lang.String FIELD_STREAM_NAME
- See Also:
- Constant Field Values
-
NESTED_DESCRIPTOR_CHECK_FOR_ISSUES
public static final java.lang.String NESTED_DESCRIPTOR_CHECK_FOR_ISSUES
- See Also:
- Constant Field Values
-
NESTED_DESCRIPTOR_CONFIGURE_CHANGE_SET_PATTERNS
public static final java.lang.String NESTED_DESCRIPTOR_CONFIGURE_CHANGE_SET_PATTERNS
- See Also:
- Constant Field Values
-
NESTED_DESCRIPTOR_COVERITY_RUN_CONFIGURATION
public static final java.lang.String NESTED_DESCRIPTOR_COVERITY_RUN_CONFIGURATION
- See Also:
- Constant Field Values
-
FIELD_ON_COMMAND_FAILURE
public static final java.lang.String FIELD_ON_COMMAND_FAILURE
- See Also:
- Constant Field Values
-
FIELD_CLEAN_UP_ACTION
public static final java.lang.String FIELD_CLEAN_UP_ACTION
- See Also:
- Constant Field Values
-
FIELD_CREDENTIALS_ID
public static final java.lang.String FIELD_CREDENTIALS_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCreateMissingProjectsAndStreams
public java.lang.Boolean getCreateMissingProjectsAndStreams()
-
setCreateMissingProjectsAndStreams
@DataBoundSetter public void setCreateMissingProjectsAndStreams(@QueryParameter("createMissingProjectsAndStreams") java.lang.Boolean createMissingProjectsAndStreams)
-
getCoverityInstanceUrl
public java.lang.String getCoverityInstanceUrl()
-
getProjectName
public java.lang.String getProjectName()
-
setProjectName
@DataBoundSetter public void setProjectName(@QueryParameter("projectName") java.lang.String projectName)
-
getStreamName
public java.lang.String getStreamName()
-
setStreamName
@DataBoundSetter public void setStreamName(@QueryParameter("streamName") java.lang.String streamName)
-
getViewName
public java.lang.String getViewName()
-
setViewName
@DataBoundSetter public void setViewName(@QueryParameter("viewName") java.lang.String viewName)
-
getConfigureChangeSetPatterns
public ConfigureChangeSetPatterns getConfigureChangeSetPatterns()
-
setConfigureChangeSetPatterns
@DataBoundSetter public void setConfigureChangeSetPatterns(@QueryParameter("configureChangeSetPatterns") ConfigureChangeSetPatterns configureChangeSetPatterns)
-
getCredentialsId
public java.lang.String getCredentialsId()
-
setCredentialsId
@DataBoundSetter public void setCredentialsId(java.lang.String credentialsId)
-
setUp
public void setUp(jenkins.tasks.SimpleBuildWrapper.Context context, hudson.model.Run<?,?> build, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener, hudson.EnvVars initialEnvironment) throws java.io.IOException, java.lang.InterruptedException
- Overrides:
setUp
in classjenkins.tasks.SimpleBuildWrapper
- Throws:
java.io.IOException
java.lang.InterruptedException
-
getDescriptor
public CoverityEnvironmentWrapper.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfacehudson.model.Describable<hudson.tasks.BuildWrapper>
- Overrides:
getDescriptor
in classhudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
-
createLoggerDecorator
public hudson.console.ConsoleLogFilter createLoggerDecorator(@Nonnull hudson.model.Run<?,?> build)
- Overrides:
createLoggerDecorator
in classjenkins.tasks.SimpleBuildWrapper
-
-