Class GitHubPRDescriptionEvent
java.lang.Object
hudson.model.AbstractDescribableImpl<GitHubPREvent>
org.jenkinsci.plugins.github.pullrequest.events.GitHubPREvent
org.jenkinsci.plugins.github.pullrequest.events.impl.GitHubPRDescriptionEvent
- All Implemented Interfaces:
ExtensionPoint
,Describable<GitHubPREvent>
Used to skip PR builder. Use case is skipping if special description exists.
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncheck
(GitHubPRDecisionContext prDecisionContext) Checks for skip message in pull request description.Methods inherited from class org.jenkinsci.plugins.github.pullrequest.events.GitHubPREvent
checkHook, getDescriptor
-
Constructor Details
-
GitHubPRDescriptionEvent
-
-
Method Details
-
check
Checks for skip message in pull request description.- Overrides:
check
in classGitHubPREvent
- Parameters:
prDecisionContext
- .remotePRGHIssue
that contains description for checking- 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
-
getSkipMsg
-