Class CheckRunGHEventSubscriber
java.lang.Object
org.jenkinsci.plugins.github.extension.GHEventsSubscriber
com.adobe.jenkins.github_pr_comment_build.BasePRGHEventSubscriber<TriggerPRCheckRunBranchProperty,Void>
com.adobe.jenkins.github_pr_comment_build.CheckRunGHEventSubscriber
- All Implemented Interfaces:
ExtensionPoint
@Extension
public class CheckRunGHEventSubscriber
extends BasePRGHEventSubscriber<TriggerPRCheckRunBranchProperty,Void>
This subscriber manages
GHEvent CHECK_RUN completions. A pull request's own checks may
all pass before a slower third-party check (e.g. an AI review bot) finishes, so nothing
re-evaluates automerge once that check finally lands unless something re-triggers the job.-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class com.adobe.jenkins.github_pr_comment_build.BasePRGHEventSubscriber
REPOSITORY_NAME_PATTERN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Set<org.kohsuke.github.GHEvent> events()protected Class<TriggerPRCheckRunBranchProperty> protected voidHandles completions of check runs on pull requests.Methods inherited from class com.adobe.jenkins.github_pr_comment_build.BasePRGHEventSubscriber
checkAndRunJobs, getChangedRepository, getRepoUrl, isApplicable, postStartJobMethods inherited from class org.jenkinsci.plugins.github.extension.GHEventsSubscriber
all, extractEvents, isApplicable, isApplicableFor, isApplicableFor, isInterestedIn, onEvent, processEvent, processEvent
-
Constructor Details
-
CheckRunGHEventSubscriber
public CheckRunGHEventSubscriber()
-
-
Method Details
-
getTriggerClass
- Specified by:
getTriggerClassin classBasePRGHEventSubscriber<TriggerPRCheckRunBranchProperty,Void>
-
events
- Specified by:
eventsin classorg.jenkinsci.plugins.github.extension.GHEventsSubscriber
-
onEvent
Handles completions of check runs on pull requests.- Overrides:
onEventin classorg.jenkinsci.plugins.github.extension.GHEventsSubscriber- Parameters:
event- only CHECK_RUN eventspayload- payload of gh-event. Never blank
-