Skip to content

Commit

Permalink
[JENKINS-40652] Late fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenc committed Jan 27, 2017
1 parent 9fcb6d3 commit bb18410
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -985,7 +985,7 @@ public SCMRevision getTrustedRevision(SCMRevision revision, TaskListener listene
throws IOException, InterruptedException {
if (revision instanceof PullRequestSCMRevision) {
PullRequestSCMHead head = (PullRequestSCMHead) revision.getHead();
if (repoOwner.equals(head.getSourceRepo()) && repository.equals(head.getSourceRepo())) {
if (repoOwner.equals(head.getSourceOwner())) {
// origin PR
return revision;
}
Expand Down

0 comments on commit bb18410

Please sign in to comment.