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

don't disable building PRs for Bitbucket Server instances

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Currently the plugin checks if the repo is public, and doesn't allow building PRs, "Skipping pull requests for public repositories." While I assume this is for security purposes for Bitbucket.org, it is a problematic limitation for private Bitbucket Server instances that use a PR-based flow and have the repo "Public", which only means it can be viewed and cloned. Only authenticated users can push and create pull requests and we need to be able to discover and test these effectively private pull requests

        Attachments

          Issue Links

            Activity

            mcrooney mcrooney created issue -
            Hide
            mcrooney mcrooney added a comment -

            Created https://github.com/jenkinsci/bitbucket-branch-source-plugin/pull/24 which we'll build and use locally to work around this, feedback/merging welcome

            Show
            mcrooney mcrooney added a comment - Created https://github.com/jenkinsci/bitbucket-branch-source-plugin/pull/24 which we'll build and use locally to work around this, feedback/merging welcome
            mcrooney mcrooney made changes -
            Field Original Value New Value
            Description Currently the plugin checks if the repo is public, and doesn't allow building PRs, "Skipping pull requests for public repositories." While I assume this is for security purposes for Bitbucket.org, it is a problematic limitation for private Bitbucket Server instances that use a PR-based flow and have the repo "Public", which only means it can be viewed and cloned. Only authenticated users can push and create pull requests and we need to be able to discover and test these pull requests :) Currently the plugin checks if the repo is public, and doesn't allow building PRs, "Skipping pull requests for public repositories." While I assume this is for security purposes for Bitbucket.org, it is a problematic limitation for private Bitbucket Server instances that use a PR-based flow and have the repo "Public", which only means it can be viewed and cloned. Only authenticated users can push and create pull requests and we need to be able to discover and test these effectively private pull requests :)
            Hide
            jamesdumay James Dumay added a comment -

            Duplicate of JENKINS-43507 which is due to be released in a few weeks.

            Show
            jamesdumay James Dumay added a comment - Duplicate of JENKINS-43507 which is due to be released in a few weeks.
            jamesdumay James Dumay made changes -
            Link This issue duplicates JENKINS-43507 [ JENKINS-43507 ]
            jamesdumay James Dumay made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Duplicate [ 3 ]

              People

              • Assignee:
                amuniz Antonio Muñiz
                Reporter:
                mcrooney mcrooney
              • Votes:
                3 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: