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

Jenkins PR(pull request) build fails for 1st time

    Details

    • Similar Issues:

      Description

      When I create a pull request in Bitbucket my build fails, see attached image for details. 

      Couldn't find remote ref refs/pull-requests/42/from
      • Another thing I have noticed is that when I go to Jenkins UI and re-trigger the build it builds without any errors.
      • Next if I commit to my branch/PR build runs without errors
      • Next when I decline the PR and then open the same PR it again fails and this time when I try to re trigger build from Jenkins UI it continues to fail with the same error and I end up with having to
        • create a new PR with the only solution to run my build pipeline, OR
        • I do a new commit  and that triggers a successful build

      My environments are: 

      • Jenkins ver. 2.197
      • Bitbucket Branch Source plugin 2.4.6

      This issue might be related to 

      1. JENKINS-45966
      2. JENKINS-40958
      3. JENKINS-49353
      4. JENKINS-48361
      5. JENKINS-46174

        Attachments

          Issue Links

            Activity

            Hide
            cdelmonte Christian Del Monte added a comment -

            Hi tanzeel rehman

            please assign the issue to the mantainer of the Bitbucket Branch Source plugin.

            I can help you only in case you are using exclusively the Bitbucket Push And Pull Request Plugin

            Thanks

             

            Show
            cdelmonte Christian Del Monte added a comment - Hi tanzeel rehman please assign the issue to the mantainer of the Bitbucket Branch Source plugin. I can help you only in case you are using exclusively the Bitbucket Push And Pull Request Plugin Thanks  

              People

              • Assignee:
                cdelmonte Christian Del Monte
                Reporter:
                tanzeelrehman tanzeel rehman
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: