Jenkins setup:
Jenkins 2.492.1
Bitbucket plugin version → 263.v7f6ef03c9ef8
Hi
I have a multibranch project that is triggered by web hook(I’m not sure if this part is done correctly from my side)
Branch Sources is bitbcuet
and for
Build when a change is pushed to BitBucket
I added this
“https://bitbucket.org/{comapny}/{service-name}.git”
The repository in the bitbucket has a corresponding webhook attached
1-Goals
My goal is to get the BITBUCKET_PAYLOAD from the so I can use it in the pipelines locig
2- What I know so far
From what I understand from the description of the Bitbucket
The payload has to be injected as an env variable
But after I enabled all the logging for the plugin, I can see this in the logs “BITBUCKET_PAYLOAD is null, ignoring”
Also I can see this
Mar 03, 2025 12:17:24 PM FINE com.cloudbees.jenkins.plugins.bitbucket.hooks.BitbucketSCMSourcePushHookReceiver
X-Bitbucket-Type header / server_url request parameter not found. Bitbucket Cloud webhook incoming.
After some testing, even if the Bitbucket plugin is removed after a commit to the repo, the multibranch starts
3-General questions
How does the multibranch start when a commit is pushed, somehow it has to handle the webhook?
Is there any way to pass the webhook payload to the job