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

Git polling is not detecting changes on BitBucket

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • git-plugin
    • None
    • Ubuntu v14.04
      Jenkins v1.607
      Git Plugin 2.3.5
      Git server is on BitBucket

      I have changes pushed BitBucket. Jenkins is configured to poll BitBucket every 5 minutes which works as expected. The problem is that the polling result indicate that there are no changes found.

      This was discovered by coincidence after investigating why a local build break wasn't discovered by Jenkins. We found out that Jenkins job didn't trigger for couple of days.

      When downgrading the git plugin to version 2.3 everything worked.

          [JENKINS-27769] Git polling is not detecting changes on BitBucket

          Mark Waite added a comment -

          Probably a duplicate of the bug that was introduced in git plugin 2.3.5.

          Mark Waite added a comment - Probably a duplicate of the bug that was introduced in git plugin 2.3.5.

          Timo Leinonen added a comment -

          We are experiencing the same issue, but with Atlassian Stash, which is just a local BitBucket I guess.

          Timo Leinonen added a comment - We are experiencing the same issue, but with Atlassian Stash, which is just a local BitBucket I guess.

          Mark Waite added a comment -

          tle have you attempted to switch from git plugin 2.3.5 to an earlier version to see if that resolves the problem?

          Knowing that will help narrow the range of commits which might have caused the problem.

          Mark Waite added a comment - tle have you attempted to switch from git plugin 2.3.5 to an earlier version to see if that resolves the problem? Knowing that will help narrow the range of commits which might have caused the problem.

          Timo Leinonen added a comment - - edited

          Yes, sorry for not being more specific. We downgraded to 2.3, like suggested by the reporter, and that fixed the problem.

          Timo Leinonen added a comment - - edited Yes, sorry for not being more specific. We downgraded to 2.3, like suggested by the reporter, and that fixed the problem.

          Timo Leinonen added a comment -

          Tried some other versions, and it seems like 2.3.1 is where the problem is first introduced.

          Timo Leinonen added a comment - Tried some other versions, and it seems like 2.3.1 is where the problem is first introduced.

          Mark Waite added a comment -

          tle the git plugin and git client plugin are being tested in hopes of releasing new versions before the end of June. If you're willing to assist with the testing, please download and install a pre-release build of the git client plugin and the git plugin. Problems detected in the pre-release should be e-mailed to MarkEWaite and ndeloof.

          I wrote some test ideas if you would like suggestions of areas that need testing. The git plugin supports many different use cases and its automated tests only evaluate a very few of those use cases.

          Mark Waite added a comment - tle the git plugin and git client plugin are being tested in hopes of releasing new versions before the end of June. If you're willing to assist with the testing, please download and install a pre-release build of the git client plugin and the git plugin . Problems detected in the pre-release should be e-mailed to MarkEWaite and ndeloof . I wrote some test ideas if you would like suggestions of areas that need testing. The git plugin supports many different use cases and its automated tests only evaluate a very few of those use cases.

          Timo Leinonen added a comment -

          Hi markewaite
          I tested with the pre-release plugins and it worked perfectly. I did not see any errors or warnings in the logs.

          Timo Leinonen added a comment - Hi markewaite I tested with the pre-release plugins and it worked perfectly. I did not see any errors or warnings in the logs.

          Mark Waite added a comment -

          Fix included in git plugin 2.4.0 released 18 July 2015

          Mark Waite added a comment - Fix included in git plugin 2.4.0 released 18 July 2015

            ndeloof Nicolas De Loof
            mgalaleldin Mohamed Galal El-Din
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: