Class PublisherErrorHandler

java.lang.Object
hudson.model.AbstractDescribableImpl<PublisherErrorHandler>
org.jenkinsci.plugins.github.pullrequest.utils.PublisherErrorHandler
All Implemented Interfaces:
Describable<PublisherErrorHandler>

public class PublisherErrorHandler extends AbstractDescribableImpl<PublisherErrorHandler>
Allows to change build result to specified value if there was publisher error.
Author:
Alina Karpovich
  • Constructor Details

    • PublisherErrorHandler

      @DataBoundConstructor public PublisherErrorHandler(Result buildStatus)
  • Method Details

    • getBuildStatus

      public Result getBuildStatus()
    • markBuildAfterError

      public Result markBuildAfterError(Run<?,?> run)