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

Build status is not sent to Mercurial repo on BitBucket

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Labels:
      None
    • Environment:
      OS: Ubuntu xenial 64-bit
      JRE: openjdk version "1.8.0_171"
      Jenkins: version 2.121.1
      BitBucket Branch Source Plugin: version 2.2.11
    • Similar Issues:
    • Released As:
      2.2.13

      Description

      Step to reproduce:

      1. Create a new Multibranch Pipeline
      2. Choose "Bitbucket" in Branch Sources, so it uses Bitbucket Branch Source plugin
      3. Fill in data of a Mercurial repoistory
      4. Save and Build
      5. Build status (both build begin and complete) is not reflected on repo page at Bitbucket website

      If the repository is git, build status is showed correctly, and console log has this line twice:

      [Bitbucket] Notifying commit build result 

      But there is no this line in the console log of the Mercurial pipeline.

       

        Attachments

          Activity

          iongchun Ang Iongchun created issue -
          iongchun Ang Iongchun made changes -
          Field Original Value New Value
          Description Step to reproduce:
           # Create a new Multibranch Pipeline
          {code:java}
          // code placeholder
          {code}

           # Choose "Bitbucket" in Branch Sources, so it uses Bitbucket Branch Source plugin
           # Fill in data of a Mercurial repoistory
           # Save and Build
           # Build status (both build begin and complete) is not reflected on repo page at Bitbucket website

          If the repository is git, build status is showed correctly, and console log has this line twice:
          [Bitbucket] Notifying commit build result
          But there is no this line in the console log of the Mercurial pipeline.

           
          Step to reproduce:
           # Create a new Multibranch Pipeline

           # Choose "Bitbucket" in Branch Sources, so it uses Bitbucket Branch Source plugin
           # Fill in data of a Mercurial repoistory
           # Save and Build
           # Build status (both build begin and complete) is not reflected on repo page at Bitbucket website

          If the repository is git, build status is showed correctly, and console log has this line twice:
          {code:java}
          [Bitbucket] Notifying commit build result {code}
          But there is no this line in the console log of the Mercurial pipeline.

           
          iongchun Ang Iongchun made changes -
          Description Step to reproduce:
           # Create a new Multibranch Pipeline

           # Choose "Bitbucket" in Branch Sources, so it uses Bitbucket Branch Source plugin
           # Fill in data of a Mercurial repoistory
           # Save and Build
           # Build status (both build begin and complete) is not reflected on repo page at Bitbucket website

          If the repository is git, build status is showed correctly, and console log has this line twice:
          {code:java}
          [Bitbucket] Notifying commit build result {code}
          But there is no this line in the console log of the Mercurial pipeline.

           
          Step to reproduce:
           # Create a new Multibranch Pipeline
           # Choose "Bitbucket" in Branch Sources, so it uses Bitbucket Branch Source plugin
           # Fill in data of a Mercurial repoistory
           # Save and Build
           # Build status (both build begin and complete) is not reflected on repo page at Bitbucket website

          If the repository is git, build status is showed correctly, and console log has this line twice:
          {code:java}
          [Bitbucket] Notifying commit build result {code}
          But there is no this line in the console log of the Mercurial pipeline.

           
          Hide
          iongchun Ang Iongchun added a comment -

          PR is created.

          Show
          iongchun Ang Iongchun added a comment - PR is created.
          Hide
          iongchun Ang Iongchun added a comment -

          PR is merged.

          Show
          iongchun Ang Iongchun added a comment - PR is merged.
          casz Joseph Petersen made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Joseph Petersen [ casz ]
          Resolution Fixed [ 1 ]
          Released As 2.2.13

            People

            • Assignee:
              casz Joseph Petersen
              Reporter:
              iongchun Ang Iongchun
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: