-
Bug
-
Resolution: Unresolved
-
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.