Class CoverityEnvironmentWrapper

  • All Implemented Interfaces:
    hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.BuildWrapper>

    public class CoverityEnvironmentWrapper
    extends jenkins.tasks.SimpleBuildWrapper
    • 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
    • Constructor Detail

      • CoverityEnvironmentWrapper

        @DataBoundConstructor
        public CoverityEnvironmentWrapper​(java.lang.String coverityInstanceUrl)
    • 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)
      • 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 class jenkins.tasks.SimpleBuildWrapper
        Throws:
        java.io.IOException
        java.lang.InterruptedException
      • getDescriptor

        public CoverityEnvironmentWrapper.DescriptorImpl getDescriptor()
        Specified by:
        getDescriptor in interface hudson.model.Describable<hudson.tasks.BuildWrapper>
        Overrides:
        getDescriptor in class hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
      • createLoggerDecorator

        public hudson.console.ConsoleLogFilter createLoggerDecorator​(@Nonnull
                                                                     hudson.model.Run<?,​?> build)
        Overrides:
        createLoggerDecorator in class jenkins.tasks.SimpleBuildWrapper