public class PullRequestSCMRevision
extends jenkins.scm.api.SCMRevision
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getBaseHash()
The commit hash of the base branch we are tracking.
|
String |
getPullHash()
The commit hash of the head of the pull request branch.
|
int |
hashCode() |
String |
toString() |
@NonNull public String getBaseHash()
PullRequestSCMHead.isMerge(), this would be the current head of the base branch.
Otherwise it would be the PR’s .base.sha, the common ancestor of the PR branch and the base branch.@NonNull public String getPullHash()
public boolean equals(Object o)
equals in class jenkins.scm.api.SCMRevisionpublic int hashCode()
hashCode in class jenkins.scm.api.SCMRevisionCopyright © 2016. All rights reserved.