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. Eternal Loading.....png
          Eternal Loading.....png
          49 kB
        4. Jenkins Version.png
          Jenkins Version.png
          1 kB
        5. The last commit.png
          The last commit.png
          75 kB

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

          Thanks halkeye for helping work with the customer to resolve this.

           

          Jeremy Hartley added a comment - Thanks halkeye for helping work with the customer to resolve this.  

          This turned out not to be an issue

          Jeremy Hartley added a comment - This turned out not to be an issue

          halkeye, as i said i´ve spent some time tested the issue, once it is intermitent and yesterday it seemed to be ok, but today it raised up again.
          Same enviroment, same Bitbucket username/password.
          One new information is: If i restart Jenkins process it runs ok by the first time.
          I am recording a video with issue.

          Marcello Ribeiro added a comment - halkeye , as i said i´ve spent some time tested the issue, once it is intermitent and yesterday it seemed to be ok, but today it raised up again. Same enviroment, same Bitbucket username/password. One new information is: If i restart Jenkins process it runs ok by the first time. I am recording a video with issue.

          Gavin Mogan added a comment - - edited

          marcello_ribeiro so I'm kinda at the limit I can do as an OSS contributor since I can't reproduce it. Also you have a kinda crappy work around so its not highest priority.

           

          My suggestion is to try to get as much information as you can prepareted, then try out the 30 minutes free cloudbees support and see if they can raise a ticket internally to get more traction on it - https://www.cloudbees.com/go/jenkins-support-ama

          Gavin Mogan added a comment - - edited marcello_ribeiro so I'm kinda at the limit I can do as an OSS contributor since I can't reproduce it. Also you have a kinda crappy work around so its not highest priority.   My suggestion is to try to get as much information as you can prepareted, then try out the 30 minutes free cloudbees support and see if they can raise a ticket internally to get more traction on it -  https://www.cloudbees.com/go/jenkins-support-ama

          Marcello Ribeiro added a comment - - edited

          jhartley, I don´t know if you could reopen that issue, once i have a detailled video with the issue evidence and its behaviour...

          It only happens after second time we try listing the repos. (Exception is thrown every times, but the eternal "loading..." message happens only when you navigate any other Jenkins screens, you come back to pipeline creation screen and try it again)

          Marcello Ribeiro added a comment - - edited jhartley , I don´t know if you could reopen that issue, once i have a detailled video with the issue evidence and its behaviour... It only happens after second time we try listing the repos. (Exception is thrown every times, but the eternal "loading..." message happens only when you navigate any other Jenkins screens, you come back to pipeline creation screen and try it again)

          halkeye thanks for you suggestion and i´ll try it as you said.

          Its is no clear about what you mean with a "crappy work around". Can you please clear that?

          Marcello Ribeiro added a comment - halkeye thanks for you suggestion and i´ll try it as you said. Its is no clear about what you mean with a "crappy work around". Can you please clear that?

          Gavin Mogan added a comment -

          oh I didn't read the message fully, I thought you said it would only break on the second time doing it, was fine after restart. No work around sorry.

          I think you'll have better luck with the classic UI

          Gavin Mogan added a comment - oh I didn't read the message fully, I thought you said it would only break on the second time doing it, was fine after restart. No work around sorry. I think you'll have better luck with the classic UI

          Jimmy added a comment -

          i think is repository too much make cannot access, because i tried use other account is work, i have this problem too in docker  

          Jimmy added a comment - i think is repository too much make cannot access, because i tried use other account is work, i have this problem too in docker  

          Jimmy added a comment -

          api calling is 404 and fetch

          Jimmy added a comment - api calling is 404 and fetch

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

              Created:
              Updated: