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

Bitbucket branch plugin does not support webhook events when configured as Single repository

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • Jenkins 2.375.1
      cloudbees-bitbucket-branch-source 757.vddedc5f2589a_

      When i configure a new Organisation folder and I select as Repository Sources -> Single repository instead of Bitbucket Team/Project the webhook sent from Bitbucket as ignored by PushHookProcessor because event are matched only if SCMNavigator is of type BitbucketSCMNavigator.

      In case of Single repository the navigator is of type jenkins.scm.impl.SingleSCMNavigator that contains a source with required informations (BitbucketSCMSource)

      Looking at
      PushHookProcessor.java#93 (SCMHeadEvent.isMatch())
      it should take care also if navigator instance is of type SingleSCMNavigator. This is not the single point with this logic.

            Unassigned Unassigned
            nfalco Nikolas Falco
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: