Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63802

Couldn't find any revision to build

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Getting the following error when trying to build pull requests after upgrading to Bitbucket 7.6.0:

       
      {{> C:\Program Files\Git\bin\git.exe fetch --tags --force --progress – REDACTED_URL +refs/pull-requests/:refs/remotes/origin/pr/ # timeout=10}}
      {{ > C:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/pr/140/from^{commit}" # timeout=10}}
      {{ > C:\Program Files\Git\bin\git.exe rev-parse "origin/pr/140/from^{commit}" # timeout=10}}
      {{ ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.}}

      I've tried pulling the ref manually, and while some of the older refs are there, pull requests made after the upgrade are not. Is the ref no longer available? I understand that may be "Bitbucket's fault", but if the mechanism this plugin uses is gone, then isn't the plugin broken?

        Attachments

          Issue Links

            Activity

            tmboyd1 Todd Boyd created issue -
            tmboyd1 Todd Boyd made changes -
            Field Original Value New Value
            Description Getting the following error when trying to build pull requests after upgrading to Bitbucket 7.6.0:

             
             {{> C:\Program Files\Git\bin\git.exe fetch --tags --force --progress – REDACTED_URL +refs/pull-requests/*:refs/remotes/origin/pr/* # timeout=10}}
            {{ > C:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/pr/140/from^\{commit}" # timeout=10}}
            {{ > C:\Program Files\Git\bin\git.exe rev-parse "origin/pr/140/from^\{commit}" # timeout=10}}
            {{ ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.}}

            I've tried pulling the ref manually, and while some of the older refs are there, pull requests made after the upgrade are not. Is the ref no longer available? I understand that may be "Bitbucket's fault", but if the mechanism this plugin uses is gone, then isn't the plugin broken?
            Getting the following error when trying to build pull requests after upgrading to Bitbucket 7.6.0:

             
             {{{{> C:\Program Files\Git\bin\git.exe fetch --tags --force --progress – REDACTED_URL +refs/pull-requests/*:refs/remotes/origin/pr/* # timeout=10}}}}
            {{ > C:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/pr/140/from^\{commit}" # timeout=10}}
            {{ > C:\Program Files\Git\bin\git.exe rev-parse "origin/pr/140/from^\{commit}" # timeout=10}}
            {{ ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.}}

            I've tried pulling the ref manually, and while some of the older refs are there, pull requests made after the upgrade are not. Is the ref no longer available? I understand that may be "Bitbucket's fault", but if the mechanism this plugin uses is gone, then isn't the plugin broken?
            jbochenski Jakub Bochenski made changes -
            Resolution Not A Defect [ 7 ]
            Status Open [ 1 ] Resolved [ 5 ]
            jbochenski Jakub Bochenski made changes -
            Link This issue is duplicated by JENKINS-64880 [ JENKINS-64880 ]

              People

              Assignee:
              jbochenski Jakub Bochenski
              Reporter:
              tmboyd1 Todd Boyd
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: