Class StatusVerifier

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

public class StatusVerifier extends AbstractDescribableImpl<StatusVerifier>
Checks build result and allows run for publishers only for builds with specified result.
Author:
Alina Karpovich
  • Constructor Details

    • StatusVerifier

      @DataBoundConstructor public StatusVerifier(Result buildStatus)
  • Method Details

    • isRunAllowed

      public boolean isRunAllowed(Run<?,?> run)
    • getBuildStatus

      public Result getBuildStatus()