Class GitHubPRCommitEvent
java.lang.Object
hudson.model.AbstractDescribableImpl<GitHubPREvent>
org.jenkinsci.plugins.github.pullrequest.events.GitHubPREvent
org.jenkinsci.plugins.github.pullrequest.events.impl.GitHubPRCommitEvent
- All Implemented Interfaces:
ExtensionPoint
,Describable<GitHubPREvent>
Triggers build when commit hash changed
- Author:
- Kanstantsin Shautsou
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncheck
(GitHubPRDecisionContext prDecisionContext) indicates that PR was changedMethods inherited from class org.jenkinsci.plugins.github.pullrequest.events.GitHubPREvent
checkHook, getDescriptor
-
Constructor Details
-
GitHubPRCommitEvent
@DataBoundConstructor public GitHubPRCommitEvent()
-
-
Method Details
-
check
Description copied from class:GitHubPREvent
indicates that PR was changed- Overrides:
check
in classGitHubPREvent
- 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
-