I would like to know how to configure Bitbucket Build Status Notifier Jenkins plugin to connect to BitBucket Cloud for Pipeline projects.
Basic instructions are here, on a plugin homepage: https://plugins.jenkins.io/bitbucket-build-status-notifier/
However, following those instructions yield successful call from Jenkins like:
Sending build status INPROGRESS for commit dd4535c01718552b76d6e7f9568ad89bf2dd860b to BitBucket is done!
But on BitBucket Clould side there is no effect whatsoever.
I have tried basic call from documentation:
bitbucketStatusNotify(buildState: 'INPROGRESS')
No effect.
Then I have tried, based on this site answer (Why does the Jenkins bitbucket-build-status-notifier-plugin post the status to the shared pipeline library repository?):
bitbucketStatusNotify( buildState: 'INPROGRESS', repoSlug: 'repoSlug aka repositoryName, e.g. some-app', commitId: env.GIT_COMMIT )
Again, no effect.
Then I have tried something on my own (various variants of this):
bitbucketStatusNotify( buildState: 'INPROGRESS', buildDescription: "${env.JOB_NAME}", buildKey: "${env.BUILD_NUMBER}", buildName: "${env.JOB_BASE_NAME}", repoSlug: "my-repo-name",//BitBucket Cloud repo name (last part of repo url) commitId: env.GIT_COMMIT )
And again no effect. I think there is something with data. So if I would sent "the right" data would be OK? Can someone tell me what I am doing wrong? What BitBucket Cloud API expects to get?