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

Bitbucket Server consumers with bitbucket app link is incompatible

      bitbucket version: 8.9.10 (Data Center)

      Bitbucket App Link

       

       

          [JENKINS-73854] Bitbucket Server consumers with bitbucket app link is incompatible

          Austin added a comment -

          I can also confirm the regression using Bitbucket 7.10.1 with the following error:

          om.atlassian.bitbucket.jenkins.internal.client.exception.BadRequestException: - response: 400
          	at PluginClassLoader for atlassian-bitbucket-server-integration//com.atlassian.bitbucket.jenkins.internal.http.HttpRequestExecutorImpl.handleError(HttpRequestExecutorImpl.java:161)
          	at PluginClassLoader for atlassian-bitbucket-server-integration//com.atlassian.bitbucket.jenkins.internal.http.HttpRequestExecutorImpl.makeRequest(HttpRequestExecutorImpl.java:108)
          	at PluginClassLoader for atlassian-bitbucket-server-integration//com.atlassian.bitbucket.jenkins.internal.http.HttpRequestExecutorImpl.performRequest(HttpRequestExecutorImpl.java:173)
          	at PluginClassLoader for atlassian-bitbucket-server-integration//com.atlassian.bitbucket.jenkins.internal.http.HttpRequestExecutorImpl.executeRequest(HttpRequestExecutorImpl.java:94)
          	at PluginClassLoader for atlassian-bitbucket-server-integration//com.atlassian.bitbucket.jenkins.internal.http.HttpRequestExecutorImpl.executeGet(HttpRequestExecutorImpl.java:65)
          	at PluginClassLoader for atlassian-bitbucket-server-integration//com.atlassian.bitbucket.jenkins.internal.client.BitbucketRequestExecutor.makeGetRequest(BitbucketRequestExecutor.java:185)
          	at PluginClassLoader for atlassian-bitbucket-server-integration//com.atlassian.bitbucket.jenkins.internal.client.BitbucketRequestExecutor.makeGetRequest(BitbucketRequestExecutor.java:107)
          	at PluginClassLoader for atlassian-bitbucket-server-integration//com.atlassian.bitbucket.jenkins.internal.client.BitbucketCommitClientImpl.getCommit(BitbucketCommitClientImpl.java:31)
          	at PluginClassLoader for atlassian-bitbucket-server-integration//com.atlassian.bitbucket.jenkins.internal.scm.BitbucketSCMSource.lambda$fetchBitbucketCommit$11(BitbucketSCMSource.java:495)
          	at java.base/java.util.Optional.map(Unknown Source)
          	at PluginClassLoader for atlassian-bitbucket-server-integration//com.atlassian.bitbucket.jenkins.internal.scm.BitbucketSCMSource.fetchBitbucketCommit(BitbucketSCMSource.java:494)
          	at PluginClassLoader for atlassian-bitbucket-server-integration//com.atlassian.bitbucket.jenkins.internal.scm.BitbucketSCMSource.retrieve(BitbucketSCMSource.java:312)
          	at PluginClassLoader for scm-api//jenkins.scm.api.SCMSource.fetch(SCMSource.java:581)
          	at PluginClassLoader for workflow-multibranch//org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:104)
          	at PluginClassLoader for workflow-job//org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:311)
          	at hudson.model.ResourceController.execute(ResourceController.java:101)
          	at hudson.model.Executor.run(Executor.java:446) 

          Austin added a comment - I can also confirm the regression using Bitbucket 7.10.1 with the following error: om.atlassian.bitbucket.jenkins.internal.client.exception.BadRequestException: - response: 400 at PluginClassLoader for atlassian-bitbucket-server-integration //com.atlassian.bitbucket.jenkins.internal.http.HttpRequestExecutorImpl.handleError(HttpRequestExecutorImpl.java:161) at PluginClassLoader for atlassian-bitbucket-server-integration //com.atlassian.bitbucket.jenkins.internal.http.HttpRequestExecutorImpl.makeRequest(HttpRequestExecutorImpl.java:108) at PluginClassLoader for atlassian-bitbucket-server-integration //com.atlassian.bitbucket.jenkins.internal.http.HttpRequestExecutorImpl.performRequest(HttpRequestExecutorImpl.java:173) at PluginClassLoader for atlassian-bitbucket-server-integration //com.atlassian.bitbucket.jenkins.internal.http.HttpRequestExecutorImpl.executeRequest(HttpRequestExecutorImpl.java:94) at PluginClassLoader for atlassian-bitbucket-server-integration //com.atlassian.bitbucket.jenkins.internal.http.HttpRequestExecutorImpl.executeGet(HttpRequestExecutorImpl.java:65) at PluginClassLoader for atlassian-bitbucket-server-integration //com.atlassian.bitbucket.jenkins.internal.client.BitbucketRequestExecutor.makeGetRequest(BitbucketRequestExecutor.java:185) at PluginClassLoader for atlassian-bitbucket-server-integration //com.atlassian.bitbucket.jenkins.internal.client.BitbucketRequestExecutor.makeGetRequest(BitbucketRequestExecutor.java:107) at PluginClassLoader for atlassian-bitbucket-server-integration //com.atlassian.bitbucket.jenkins.internal.client.BitbucketCommitClientImpl.getCommit(BitbucketCommitClientImpl.java:31) at PluginClassLoader for atlassian-bitbucket-server-integration //com.atlassian.bitbucket.jenkins.internal.scm.BitbucketSCMSource.lambda$fetchBitbucketCommit$11(BitbucketSCMSource.java:495) at java.base/java.util.Optional.map(Unknown Source) at PluginClassLoader for atlassian-bitbucket-server-integration //com.atlassian.bitbucket.jenkins.internal.scm.BitbucketSCMSource.fetchBitbucketCommit(BitbucketSCMSource.java:494) at PluginClassLoader for atlassian-bitbucket-server-integration //com.atlassian.bitbucket.jenkins.internal.scm.BitbucketSCMSource.retrieve(BitbucketSCMSource.java:312) at PluginClassLoader for scm-api //jenkins.scm.api.SCMSource.fetch(SCMSource.java:581) at PluginClassLoader for workflow-multibranch //org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:104) at PluginClassLoader for workflow-job //org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:311) at hudson.model.ResourceController.execute(ResourceController.java:101) at hudson.model.Executor.run(Executor.java:446)

          Yahya added a comment - - edited

          Hi,
          We also had the same issue with https://plugins.jenkins.io/atlassian-bitbucket-server-integration/ 4.1.0
          Had to roll back to 4.0.0 and the issue was fixed.

          Edit: Jenkins version - Jenkins 2.462.3
          Bitbucket version - Bitbucket v8.19.9

          Yahya added a comment - - edited Hi, We also had the same issue with https://plugins.jenkins.io/atlassian-bitbucket-server-integration/ 4.1.0 Had to roll back to 4.0.0 and the issue was fixed. Edit: Jenkins version - Jenkins 2.462.3 Bitbucket version - Bitbucket v8.19.9

          Dyon added a comment -

          Hi all, 

          A fix has been merged for the issue experienced by austinw_fineart. This will be going out as soon as possible. 

          https://issues.jenkins.io/browse/JENKINS-73912

           

          Dyon added a comment - Hi all,  A fix has been merged for the issue experienced by austinw_fineart . This will be going out as soon as possible.  https://issues.jenkins.io/browse/JENKINS-73912  

          Jakub added a comment -

          I don't fully understand what this bug is about from the short description, but we hit an issue that might be related - build statuses suddenly stopped showing up in Bitbucket. Triggering builds on events such as PR created still works, but the build status doesn't propagate back to Bitbucket.

          Versions:

          • Bitbucket: 8.19.10
          • Jenkins: 2.480
          • Bitbucket Server Integration: 4.1.0 / 4.1.1

          Downgrading to 4.0.0 fixed the problem.

          Jakub added a comment - I don't fully understand what this bug is about from the short description, but we hit an issue that might be related - build statuses suddenly stopped showing up in Bitbucket. Triggering builds on events such as PR created still works, but the build status doesn't propagate back to Bitbucket. Versions: Bitbucket: 8.19.10 Jenkins: 2.480 Bitbucket Server Integration: 4.1.0 / 4.1.1 Downgrading to 4.0.0 fixed the problem.

            Unassigned Unassigned
            samif sami
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: