Jenkins cannot find PR branches to check out

Description

Jenkins cannot find PR branches in github to checkout.

Sample error:

BranchName: PR-130
[Pipeline] git
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/mRemoteNG/mRemoteNG.git # timeout=10
Fetching upstream changes from https://github.com/mRemoteNG/mRemoteNG.git
> git --version # timeout=10
> git -c core.askpass=true fetch --tags --progress https://github.com/mRemoteNG/mRemoteNG.git +refs/heads/:refs/remotes/origin/
> git rev-parse "refs/remotes/origin/PR-130^{commit}" # timeout=10
> git rev-parse "refs/remotes/origin/origin/PR-130^{commit}" # timeout=10
> git rev-parse "origin/PR-130^{commit}" # timeout=10
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline

GitHub has been notified of this commit’s build result

ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
Finished: FAILURE

Status

Assignee

Unassigned

Reporter

David Sparer

Labels

Priority

Major
Configure