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

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

XMLWordPrintable

      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

            cdelmonte Christian Del Monte
            tanzeelrehman tanzeel rehman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: