Class GitHubSCMSourceStatusChecksTrait

    • Constructor Detail

      • GitHubSCMSourceStatusChecksTrait

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

      • isSkip

        public boolean isSkip()
        Defines whether to skip publishing status checks.
        Specified by:
        isSkip in interface GitHubStatusChecksConfigurations
        Returns:
        true to skip publishing checks
      • isSkipNotifications

        public boolean isSkipNotifications()
        Defines whether to skip notifications from GitHubBuildStatusNotification which utilizes the GitHub Status API.
        Returns:
        true to skip notifications
      • 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)
      • setSkipNotifications

        @DataBoundSetter
        public void setSkipNotifications​(boolean skipNotifications)
      • setSuppressLogs

        @DataBoundSetter
        public void setSuppressLogs​(boolean suppressLogs)
      • decorateContext

        protected void decorateContext​(jenkins.scm.api.trait.SCMSourceContext<?,​?> context)
        Overrides:
        decorateContext in class jenkins.scm.api.trait.SCMSourceTrait