jenkinsci / bitbucket-push-and-pull-request-plugin

Plugin for Jenkins v2.138.2 or later, that triggers job builds on Bitbucket's push and pull request events.

Home Page:https://plugins.jenkins.io/bitbucket-push-and-pull-request

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No Build Triggered even though settings are fine

Yonnatan opened this issue · comments

I have 2 Freestyle Jobs in Jenkins ,

  1. Build on every Branch push (validation)
  2. Build only on Branch push to release branches

The settings for #1
Action : Bitbucket Cloud push , Allowed Branches : Empty

The Settings for #2
Action : Bitbucket cloud push , allowed Branches : release/release*

I have tried both and even though in Bitbucket webhook screen i see 200OK! for both cases.
The Jobs doesn`t trigger ,

In the Log i see for case #1

2022-09-08 11:32:44.371+0000 [id=1750] INFO i.j.p.b.f.r.BitBucketPPRRepositoryTriggerMatcher#matchesAction: BitBucketPPREvent [bitbucketEventKey = repo:push, event = repo, action = push]
2022-09-08 11:32:44.371+0000 [id=1750] INFO i.j.p.b.f.r.BitBucketPPRRepositoryTriggerMatcher#matchesAction: BitBucketPPREvent [bitbucketEventKey = repo:push, event = repo, action = push]
2022-09-08 11:32:45.780+0000 [id=1876] INFO i.j.p.b.f.r.BitBucketPPRRepositoryPushActionFilter#shouldTriggerBuild: Should trigger build for the bitbucket action: BitBucketPPRRepositoryAction?
2022-09-08 11:32:45.781+0000 [id=1876] INFO i.j.p.b.common.BitBucketPPRUtils#matches: no matches for allowed branches pattern: release/release*
2022-09-08 11:32:45.781+0000 [id=1876] INFO i.j.p.b.f.r.BitBucketPPRRepositoryPushActionFilter#shouldTriggerBuild: Should trigger build for the bitbucket action: BitBucketPPRRepositoryAction?
2022-09-08 11:32:45.781+0000 [id=1876] INFO i.j.p.b.common.BitBucketPPRUtils#matches: no matches for allowed branches pattern: release/release*
2022-09-08 11:32:46.788+0000 [id=1877] INFO i.j.p.b.f.r.BitBucketPPRRepositoryPushActionFilter#shouldTriggerBuild: Should trigger build for the bitbucket action: BitBucketPPRRepositoryAction?
2022-09-08 11:32:46.788+0000 [id=1877] INFO i.j.p.b.common.BitBucketPPRUtils#lambda$matches$2: Matched branch:
2022-09-08 11:32:46.789+0000 [id=1877] INFO i.j.p.b.f.r.BitBucketPPRRepositoryPushActionFilter#shouldTriggerBuild: Should trigger build for the bitbucket action: BitBucketPPRRepositoryAction?
2022-09-08 11:32:46.789+0000 [id=1877] INFO i.j.p.b.common.BitBucketPPRUtils#lambda$matches$2: Matched branch:

For Case #2
2022-09-08 11:13:44.719+0000 [id=1747] INFO i.j.p.b.f.r.BitBucketPPRRepositoryTriggerMatcher#matchesAction: BitBucketPPREvent [bitbucketEventKey = repo:push, event = repo, action = push]
2022-09-08 11:13:44.720+0000 [id=1747] INFO i.j.p.b.f.r.BitBucketPPRRepositoryTriggerMatcher#matchesAction: BitBucketPPREvent [bitbucketEventKey = repo:push, event = repo, action = push]
2022-09-08 11:13:46.131+0000 [id=1799] INFO i.j.p.b.f.r.BitBucketPPRRepositoryPushActionFilter#shouldTriggerBuild: Should trigger build for the bitbucket action: BitBucketPPRRepositoryAction?
2022-09-08 11:13:46.131+0000 [id=1799] INFO i.j.p.b.common.BitBucketPPRUtils#lambda$matches$2: Matched branch: release/release*
2022-09-08 11:13:46.131+0000 [id=1799] INFO i.j.p.b.f.r.BitBucketPPRRepositoryPushActionFilter#shouldTriggerBuild: Should trigger build for the bitbucket action: BitBucketPPRRepositoryAction?
2022-09-08 11:13:46.132+0000 [id=1799] INFO i.j.p.b.common.BitBucketPPRUtils#lambda$matches$2: Matched branch: release/release*
2022-09-08 11:13:46.194+0000 [id=1800] INFO i.j.p.b.f.r.BitBucketPPRRepositoryPushActionFilter#shouldTriggerBuild: Should trigger build for the bitbucket action: BitBucketPPRRepositoryAction?
2022-09-08 11:13:46.194+0000 [id=1800] INFO i.j.p.b.common.BitBucketPPRUtils#lambda$matches$2: Matched branch:
2022-09-08 11:13:46.194+0000 [id=1800] INFO i.j.p.b.f.r.BitBucketPPRRepositoryPushActionFilter#shouldTriggerBuild: Should trigger build for the bitbucket action: BitBucketPPRRepositoryAction?
2022-09-08 11:13:46.198+0000 [id=1800] INFO i.j.p.b.common.BitBucketPPRUtils#lambda$matches$2: Matched branch: