Class CoverityBuildStep

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

    public class CoverityBuildStep
    extends hudson.tasks.Builder
    • 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_OVERRIDE_CREDENTIALS

        public static final java.lang.String FIELD_OVERRIDE_CREDENTIALS
        See Also:
        Constant Field Values
      • FIELD_CREDENTIALS_ID

        public static final java.lang.String FIELD_CREDENTIALS_ID
        See Also:
        Constant Field Values
    • Constructor Detail

      • CoverityBuildStep

        @DataBoundConstructor
        public CoverityBuildStep​(java.lang.String coverityInstanceUrl,
                                 java.lang.String onCommandFailure,
                                 java.lang.String projectName,
                                 java.lang.String streamName,
                                 CheckForIssuesInView checkForIssuesInView,
                                 ConfigureChangeSetPatterns configureChangeSetPatterns,
                                 CoverityRunConfiguration coverityRunConfiguration)
    • Method Detail

      • setCleanUpAction

        @DataBoundSetter
        public void setCleanUpAction​(CleanUpAction cleanUpAction)
      • getCredentialsId

        public java.lang.String getCredentialsId()
      • setCredentialsId

        @DataBoundSetter
        public void setCredentialsId​(java.lang.String credentialsId)
      • getOverrideDefaultCredentials

        public java.lang.Boolean getOverrideDefaultCredentials()
      • setOverrideDefaultCredentials

        @DataBoundSetter
        public void setOverrideDefaultCredentials​(java.lang.Boolean overrideDefaultCredentials)
      • getCoverityInstanceUrl

        public java.lang.String getCoverityInstanceUrl()
      • getProjectName

        public java.lang.String getProjectName()
      • getStreamName

        public java.lang.String getStreamName()
      • getRequiredMonitorService

        public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
        Specified by:
        getRequiredMonitorService in interface hudson.tasks.BuildStep
        Overrides:
        getRequiredMonitorService in class hudson.tasks.Builder
      • getDescriptor

        public CoverityBuildStep.DescriptorImpl getDescriptor()
        Specified by:
        getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>
        Overrides:
        getDescriptor in class hudson.tasks.Builder
      • perform

        public boolean perform​(hudson.model.AbstractBuild<?,​?> build,
                               hudson.Launcher launcher,
                               hudson.model.BuildListener listener)
                        throws java.io.IOException,
                               java.lang.InterruptedException
        Specified by:
        perform in interface hudson.tasks.BuildStep
        Overrides:
        perform in class hudson.tasks.BuildStepCompatibilityLayer
        Throws:
        java.io.IOException
        java.lang.InterruptedException