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

              People

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

                Dates

                Created:
                Updated: