Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Error with pull requests fatal: Couldn't find remote ref refs/pull-requests/

We upgraded bitbucket server from 6.10.1 to 7.5.1 and we are facing issues with Existing and new PRs 

Here is the error

ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from http://xxxxx:7990/scm/DEVOPS/examplepipelineproject-v2.0.git
    at hudson.plugins.git.GitSCM.fetchFrom(
    at hudson.plugins.git.GitSCM.retrieveChanges(
    at hudson.plugins.git.GitSCM.checkout(
    at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(
    at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(
    at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(
    at hudson.model.ResourceController.execute(
Caused by: hudson.plugins.git.GitException: Command "git fetch --no-tags --progress http://xxxxxxxx:7990/scm/DEVOPS/examplepipelineproject-v2.0.git +refs/pull-requests/310/from:refs/remotes/origin/PR-310" returned status code 128:
stderr: fatal: Couldn't find remote ref refs/pull-requests/310/from

    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$400(
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(
    at hudson.plugins.git.GitSCM.fetchFrom(
    ... 8 more
ERROR: Error fetching remote repo 'origin'
[Bitbucket] Notifying pull request build result
[Bitbucket] Build result notified
ERROR: Maximum checkout retry attempts reached, aborting
Finished: FAILURE

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,784 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you