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

Succesful builds remain in progress in BitBucket

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            scmbuildguy 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.

            Show
            scmbuildguy 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.
            Hide
            akileshds 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!

            Show
            akileshds 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!
            Hide
            papanito papanito added a comment -

            We face the same issue:

            • Bitbucket Branch Source 2.9.6
            • Bitbucket: v7.4.1
            • Jenkins: 2.265
            Show
            papanito papanito added a comment - We face the same issue: Bitbucket Branch Source 2.9.6 Bitbucket: v7.4.1 Jenkins: 2.265
            Hide
            karok 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

             

            Show
            karok 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  
            Hide
            elnano 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
            Show
            elnano 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
            Hide
            beatngu13 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.

            Show
            beatngu13 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.
            Hide
            lifeofguenter Günter Grodotzki added a comment -

            Does this also happen with the latest available version of the plugin?

            Show
            lifeofguenter Günter Grodotzki added a comment - Does this also happen with the latest available version of the plugin?

              People

              Assignee:
              flagbit Antonio Mansilla
              Reporter:
              aairey Andy Airey
              Votes:
              8 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated: