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

Blue Ocean does not allow us to list Bitbucket repositories

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • blueocean-plugin
    • None

      Blue Ocean does not allow us to list Bitbucket repositories:

      Caused by: io.jenkins.blueocean.commons.ServiceException: Unknown Status Code
      at io.jenkins.blueocean.blueocean_bitbucket_pipeline.HttpResponse.getContent(HttpResponse.java:71)
      at io.jenkins.blueocean.blueocean_bitbucket_pipeline.cloud.BitbucketCloudApi.getDefaultBranch(BitbucketCloudApi.java:249)
      at io.jenkins.blueocean.blueocean_bitbucket_pipeline.model.BbRepo.toScmRepository(BbRepo.java:63)
      at io.jenkins.blueocean.blueocean_bitbucket_pipeline.BitbucketRepositoryContainer$BitbucketRepositories.<init>(BitbucketRepositoryContainer.java:82)
      at io.jenkins.blueocean.blueocean_bitbucket_pipeline.BitbucketRepositoryContainer.getRepositories(BitbucketRepositoryContainer.java:41)
      at io.jenkins.blueocean.commons.stapler.export.MethodProperty.getValue(MethodProperty.java:72)
      ... 120 more

        1. bitbucket-incident.png
          bitbucket-incident.png
          19 kB
        2. BlueOceanVersion.png
          BlueOceanVersion.png
          6 kB
        3. Jenkins Version.png
          Jenkins Version.png
          1 kB
        4. The last commit.png
          The last commit.png
          75 kB
        5. Eternal Loading.....png
          Eternal Loading.....png
          49 kB

          [JENKINS-59092] Blue Ocean does not allow us to list Bitbucket repositories

          Marcello Ribeiro created issue -
          Marcello Ribeiro made changes -
          Attachment New: Eternal Loading.....png [ 48507 ]
          Marcello Ribeiro made changes -
          Assignee New: Gavin Mogan [ halkeye ]
          Marcello Ribeiro made changes -
          Attachment New: The last commit.png [ 48508 ]
          Gavin Mogan made changes -
          Assignee Original: Gavin Mogan [ halkeye ] New: Jeremy Hartley [ jhartley ]

          Gavin Mogan added a comment -

          Can you confirm/post which versions of jenkins and blueocean you are using.

          I'm re-assigning it to Jeremy for now as his team are the main maintainers.

          Gavin Mogan added a comment - Can you confirm/post which versions of jenkins and blueocean you are using. I'm re-assigning it to Jeremy for now as his team are the main maintainers.
          Marcello Ribeiro made changes -
          Attachment New: Jenkins Version.png [ 48518 ]
          Marcello Ribeiro made changes -
          Attachment New: BlueOceanVersion.png [ 48519 ]

          halkeye and jhartley,
          Please find attached  jenkins and blueocean versions.
          And also down here:

          Jenkins 2.176.2

          Blue Ocean 1.18.1

          Thanks!!

          Marcello Ribeiro added a comment - halkeye and jhartley , Please find attached  jenkins and blueocean versions. And also down here: Jenkins 2.176.2 Blue Ocean 1.18.1 Thanks!!

          Gavin Mogan added a comment -

          The fact that you are seeing the orgs, but not the repos is kinda confusing to me. It means you can connect just fine, and the credentials work.

          I just tested master, and i can pull the list of repos without issue (in both org and personal)

          Does it only happen for a single org? or the same for both org and personal account? (Looking at Eternal Loading.png) Is it possible there's a repo with some really weird characters or something?

          I certainly can't reproduce it locally.

           

          Gavin Mogan added a comment - The fact that you are seeing the orgs, but not the repos is kinda confusing to me. It means you can connect just fine, and the credentials work. I just tested master, and i can pull the list of repos without issue (in both org and personal) Does it only happen for a single org? or the same for both org and personal account? (Looking at Eternal Loading.png) Is it possible there's a repo with some really weird characters or something? I certainly can't reproduce it locally.  

            jhartley Jeremy Hartley
            marcello_ribeiro Marcello Ribeiro
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: