Bitbucket PPR Plugin is not triggering Pipelines
Hi, i have issue that when i create new PR I dont see pipeline running:
Request URL: /bitbucket-hook/
May 20, 2025 12:35:12 PM INFO io.jenkins.plugins.bitbucketpushandpullrequest.receiver.BitBucketPPRHookReceiver doIndex
Internal URL: bitbucket-hook
May 20, 2025 12:35:12 PM INFO io.jenkins.plugins.bitbucketpushandpullrequest.receiver.BitBucketPPRHookReceiver doIndex
Received POST request over Bitbucket hook
May 20, 2025 12:35:12 PM FINEST io.jenkins.plugins.bitbucketpushandpullrequest.receiver.BitBucketPPRHookReceiver
the payload is: {"actor":{"name":"andrej.soldo","emailAddress":"[email protected]","id":"4161","displayName":"Andrej Soldo","active":true,"slug":"andrej.soldo","type":"NORMAL","links":{"clone":[],"self":[{"href":"https://projects.backoffice.hr/bitbucket/users/andrej.soldo"}]}},"repository":{"slug":"knowledge_base","id":"2321","name":"knowledge_base","scmId":"git","state":"AVAILABLE","statusMessage":"Available","forkable":true,"project":{"key":"KGPAAS","id":"885","name":"KingPaaS_DevOps","links":{"clone":[],"self":[{"href":"https://projects.backoffice.hr/bitbucket/projects/KGPAAS"}]},"public":false,"type":"NORMAL"},"links":{"clone":[{"href":"ssh://[email protected]:7999/kgpaas/knowledge_base.git","name":"ssh"},{"href":"https://projects.backoffice.hr/bitbucket/scm/kgpaas/knowledge_base.git","name":"http"}],"self":[{"href":"https://projects.backoffice.hr/bitbucket/projects/KGPAAS/repos/knowledge_base/browse"}]},"public":false},"changes":[{"ref":{"id":"refs/heads/bppr","displayId":"bppr","type":"BRANCH"},"refId":"refs/heads/bppr","fromHash":"1074889ee2afef1feed04be75d1dcfaf73438fa8","toHash":"8760c4931e9e1e242b0353a7cb70a16fcc3de91b","type":"UPDATE"}]}
May 20, 2025 12:35:12 PM FINE io.jenkins.plugins.bitbucketpushandpullrequest.observer.BitBucketPPRObserverFactory
Add BitBucketPPRPushServerObserver for BitBucketPPREvent [bitbucketEventKey = repo:refs_changed, event = repo, action = refs_changed]
May 20, 2025 12:35:12 PM INFO io.jenkins.plugins.bitbucketpushandpullrequest.processor.BitBucketPPRPayloadProcessorFactory createProcessor
Create BitBucketPPRRepositoryServerPayloadProcessor
May 20, 2025 12:35:12 PM INFO io.jenkins.plugins.bitbucketpushandpullrequest.action.BitBucketPPRServerRepositoryAction
Received commit hook notification from server for destination branch: bppr
May 20, 2025 12:35:12 PM INFO io.jenkins.plugins.bitbucketpushandpullrequest.action.BitBucketPPRServerRepositoryAction
Received commit hook type from server: BRANCH
May 20, 2025 12:35:12 PM FINE io.jenkins.plugins.bitbucketpushandpullrequest.BitBucketPPRJobProbe
Trigger not set
May 20, 2025 12:35:12 PM FINE io.jenkins.plugins.bitbucketpushandpullrequest.BitBucketPPRJobProbe
demo-bitbucket-ppr SCM doesnt match remote repo {1} or it was already triggered.
Im using Jenkins 2.504.1 and Bitbucket Push and Pull Request Plugin Version3.2.0 and Im not sure why it doesn't trigger pipelines.
same issue happens with me after creating new PR No pipeline is triggered
Does anybody have any info about this, and why is this happening?
Hi @ASoldo @hazem-nasser96
I had the same issue and the cause was an updated bitbucket hostname. Therefore the plugin did not execute my pipeline as the pipelines SCM was configured for another hostname. You can troubleshoot your problem by creating a Logger for the Plugin in Jenkins:
Manage Jenkins → System Log → "Add new log recorder".
Add a logger for: io.jenkins.plugins.bitbucketpushandpullrequest
Maybe this can help you.