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

Support Bitbucket Server in Blue Ocean

    XMLWordPrintable

    Details

    • Sprint:
      tethys, Blue Ocean 1.2-beta2, Blue Ocean 1.2-beta3, Blue Ocean 1.2-beta4, Blue Ocean 1.2
    • Similar Issues:

      Description

      Improvement on roadmap

      This improvement is on the Blue Ocean project roadmap. Check the roadmap page for updates.

      Story
      Developer can create a pipeline using a Bitbucket Server repository. Branches are automatically discovered and built. If the branch does not contain a Jenkinsfile the developer can use the pipeline editor to create their first Pipeline. The pipeline can be edited and saved at any time.

      Requirements

      • Only username and password credentials are supported
      • Use Bitbucket Server content API
        • If we can't do this then we are blocked
      • Keep one credential per user and per Bitbucket URL to avoid the user having to enter their username/password multiple times
        • Handle domain like the Github Enterprise implementation

      Running Bitbucket server
      Run Bitbucket server using docker

        Attachments

          Issue Links

            Activity

            Hide
            vivek Vivek Pandey added a comment -

            James Dumay Ok. Didn't realize their server product doesn't support mercurial. So I tried creating new repo, only git repo is possible.  

            Their APIs, which are generic where list of repos could be git and hg, there is repoType field. To be correct, its very easy to filter by repo type, basically, we can return only the list of 'git' repos, this way  users only see their git repos and there is no need to flag error. 

            Show
            vivek Vivek Pandey added a comment - James Dumay  Ok. Didn't realize their server product doesn't support mercurial. So I tried creating new repo, only git repo is possible.   Their APIs, which are generic where list of repos could be git and hg, there is repoType field. To be correct, its very easy to filter by repo type, basically, we can return only the list of 'git' repos, this way  users only see their git repos and there is no need to flag error. 
            Hide
            jamesdumay James Dumay added a comment -

            I'd rather we were explicit and showed them an error when selecting a Mercurial repository. It's strange that we would show them the filtered list and them not see their repository (then we get bugs asking why)

            Show
            jamesdumay James Dumay added a comment - I'd rather we were explicit and showed them an error when selecting a Mercurial repository. It's strange that we would show them the filtered list and them not see their repository (then we get bugs asking why)
            Hide
            jamesdumay James Dumay added a comment -

            I'd Atlassian come along and implement Mercurial in server then we want to handle that case (show an error)

            Show
            jamesdumay James Dumay added a comment - I'd Atlassian come along and implement Mercurial in server then we want to handle that case (show an error)
            Hide
            vivek Vivek Pandey added a comment -

            Sounds good to me.

            Show
            vivek Vivek Pandey added a comment - Sounds good to me.
            Hide
            jamesdumay James Dumay added a comment -

            Maybe we should build in "type" to all of the branch sources? Then the error could be generic

            Show
            jamesdumay James Dumay added a comment - Maybe we should build in "type" to all of the branch sources? Then the error could be generic

              People

              • Assignee:
                vivek Vivek Pandey
                Reporter:
                jamesdumay James Dumay
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: