Class GitSCMStatusChecksExtension

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getName()
      Defines the status checks name which is also used as identifier for GitHub checks.
      boolean isSkip()
      Defines whether to skip publishing status checks.
      boolean isSkipProgressUpdates()
      Returns whether to suppress progress updates from the io.jenkins.plugins.checks.status.FlowExecutionAnalyzer.
      boolean isSuppressLogs()
      Defines whether to suppress log output in status checks.
      boolean isUnstableBuildNeutral()
      Defines whether to publish unstable builds as neutral status checks.
      void setName​(String name)
      Set the name of the status checks.
      void setSkip​(boolean skip)
      Set if skip publishing status checks.
      void setSkipProgressUpdates​(boolean skipProgressUpdates)  
      void setSuppressLogs​(boolean suppressLogs)  
      void setUnstableBuildNeutral​(boolean unstableBuildNeutral)  
      • Methods inherited from class hudson.plugins.git.extensions.GitSCMExtension

        beforeCheckout, beforeCheckout, decorate, decorateCheckoutCommand, decorateCheckoutCommand, decorateCloneCommand, decorateCloneCommand, decorateFetchCommand, decorateFetchCommand, decorateMergeCommand, decorateMergeCommand, decorateRevisionToBuild, decorateRevisionToBuild, determineSupportForJGit, enableMultipleRevisionDetection, getDescriptor, getRequiredClient, getWorkingDirectory, getWorkingDirectory, isRevExcluded, onCheckoutCompleted, onCheckoutCompleted, onClean, populateEnvironmentVariables, requiresWorkspaceForPolling
    • Constructor Detail

      • GitSCMStatusChecksExtension

        @DataBoundConstructor
        public GitSCMStatusChecksExtension()
        Constructor for stapler.
    • Method Detail

      • isSkipProgressUpdates

        public boolean isSkipProgressUpdates()
        Description copied from interface: GitHubStatusChecksConfigurations
        Returns whether to suppress progress updates from the io.jenkins.plugins.checks.status.FlowExecutionAnalyzer. Queued, Checkout and Completed will still run but not 'onNewHead'
        Specified by:
        isSkipProgressUpdates in interface GitHubStatusChecksConfigurations
        Returns:
        true if progress updates should be skipped.
      • setSkipProgressUpdates

        @DataBoundSetter
        public void setSkipProgressUpdates​(boolean skipProgressUpdates)
      • setName

        @DataBoundSetter
        public void setName​(String name)
        Set the name of the status checks.
        Parameters:
        name - name of the checks
      • setSkip

        @DataBoundSetter
        public void setSkip​(boolean skip)
        Set if skip publishing status checks.
        Parameters:
        skip - true if skip
      • setUnstableBuildNeutral

        @DataBoundSetter
        public void setUnstableBuildNeutral​(boolean unstableBuildNeutral)
      • setSuppressLogs

        @DataBoundSetter
        public void setSuppressLogs​(boolean suppressLogs)