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

Succesful builds remain in progress in BitBucket

      Sometimes when a branch is built succesfully, the status is not reflected on BitBucket.

      It still shows up as "in progress".

       

      This causes the "only allow merge when build is succesful" check to fail.

          [JENKINS-52214] Succesful builds remain in progress in BitBucket

          Andy Airey created issue -
          Andy Airey made changes -
          Link New: This issue relates to JENKINS-32940 [ JENKINS-32940 ]
          Mikkel Kjeldsen made changes -
          Link New: This issue relates to JENKINS-53082 [ JENKINS-53082 ]
          Mikkel Kjeldsen made changes -
          Link Original: This issue relates to JENKINS-53082 [ JENKINS-53082 ]

          Mark Bretl added a comment - - edited

          Environment:
          Jenkins - 2.138.1
          BlueOcean - 1.8.4
          Bitbucket Branch Source - 2.2.12
          Job Type: Bitbucket Server Pipeline

          I have ran into this issue after upgrading BlueOcean from 1.8.3 to 1.8.4. Jenkins jobs were notifying Bitbucket when I was using BlueOcean 1.8.3, and the job logs had the following at the end of the pipeline:
          [Bitbucket] Notifying commit build result
          [Bitbucket] Build result notified
          However, after upgrading BlueOcean to 1.8.4, the Bitbucket plugin stopped notifying Bitbucket and the lines (from above) were missing from the log.

          Feels like cause of the issue is because of an incompatible change upgrading to BlueOcean 1.8.4 and Bitbucket Branch Source plugin is not picking up the end of pipeline event.

          Mark Bretl added a comment - - edited Environment: Jenkins - 2.138.1 BlueOcean - 1.8.4 Bitbucket Branch Source - 2.2.12 Job Type: Bitbucket Server Pipeline I have ran into this issue after upgrading BlueOcean from 1.8.3 to 1.8.4. Jenkins jobs were notifying Bitbucket when I was using BlueOcean 1.8.3, and the job logs had the following at the end of the pipeline: [Bitbucket] Notifying commit build result [Bitbucket] Build result notified However, after upgrading BlueOcean to 1.8.4, the Bitbucket plugin stopped notifying Bitbucket and the lines (from above) were missing from the log. Feels like cause of the issue is because of an incompatible change upgrading to BlueOcean 1.8.4 and Bitbucket Branch Source plugin is not picking up the end of pipeline event.

          Akilesh DS added a comment -

          Environment:
          Jenkins - 2.235.5
          BlueOcean - 1.23.2
          Bitbucket Branch Source - 2.9.2
          Job Type: Multibranch pipeline job

          Issue:

          The Build status in Bitbucket is Success even though the build has failed in Jenkins. Issue is occuring quite often now.

          Could you please help us here?

          Thanks in advance!

          Akilesh DS added a comment - Environment: Jenkins - 2.235.5 BlueOcean - 1.23.2 Bitbucket Branch Source - 2.9.2 Job Type: Multibranch pipeline job Issue: The Build status in Bitbucket is Success even though the build has failed in Jenkins. Issue is occuring quite often now. Could you please help us here? Thanks in advance!

          papanito added a comment -

          We face the same issue:

          • Bitbucket Branch Source 2.9.6
          • Bitbucket: v7.4.1
          • Jenkins: 2.265

          papanito added a comment - We face the same issue: Bitbucket Branch Source 2.9.6 Bitbucket: v7.4.1 Jenkins: 2.265

          Karolis added a comment -

          (Created an account just for this)

          We also face the same issue:

          • Jenkins 2.277.2
          • Bitbucket Branch Source Plugin 2.9.8
          • Atlassian Bitbucket v6.10.1

           

          Karolis added a comment - (Created an account just for this) We also face the same issue: Jenkins 2.277.2 Bitbucket Branch Source Plugin 2.9.8 Atlassian Bitbucket v6.10.1  

          Elnano06 added a comment -

          We also face the same issue:

          • Jenkins 2.196
          • Bitbucket Branch Source Plugin 2.4.4
          • Atlassian Bitbucket v5.6.2

          Elnano06 added a comment - We also face the same issue: Jenkins 2.196 Bitbucket Branch Source Plugin 2.4.4 Atlassian Bitbucket v5.6.2

          Daniel Kraus added a comment -

          We also face the same issue:

          • Jenkins 2.303.3
          • Bitbucket Branch Source Plugin 2.9.11
          • Bitbucket Server 7.17.4

          Would you consider changing the priority of this bug, at least to major? It blocks people from, e.g., adopting merge checks and/or automating PR merges.

          Daniel Kraus added a comment - We also face the same issue: Jenkins 2.303.3 Bitbucket Branch Source Plugin 2.9.11 Bitbucket Server 7.17.4 Would you consider changing the priority of this bug, at least to major? It blocks people from, e.g., adopting merge checks and/or automating PR merges.

            nfalco Nikolas Falco
            aairey Andy Airey
            Votes:
            9 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: