Class GitHubPRLabelNotExistsEvent

  • All Implemented Interfaces:
    ExtensionPoint, Describable<GitHubPREvent>

    public class GitHubPRLabelNotExistsEvent
    extends GitHubPREvent
    Trigger run when label doesn't exist. Add label or close PR in post-build action to exclude cycle builds.
    Author:
    Kanstantsin Shautsou
    • Constructor Detail

      • GitHubPRLabelNotExistsEvent

        @DataBoundConstructor
        public GitHubPRLabelNotExistsEvent​(GitHubPRLabel label,
                                           boolean skip)
    • Method Detail

      • check

        public GitHubPRCause check​(@NonNull
                                   GitHubPRDecisionContext prDecisionContext)
                            throws IOException
        Description copied from class: GitHubPREvent
        indicates that PR was changed
        Overrides:
        check in class GitHubPREvent
        Returns:
        cause object. null when no influence (other events will be checked. If cause.isSkip() == true, then other checks wouldn't influence. And triggering for this branch will be skipped. If cause.isSkip() == false, indicates that branch build should be run.
        Throws:
        IOException
      • isSkip

        public boolean isSkip()