How to get Jenkins build ID of a PR

Hi,

I am working on a Bitbucket plugin that enhance the view of PRs. I couldn’t figure out how to get the current build ID or information of the Jenkins builds in the PullRequest interface.

image

Please help. Many Thanks.

Hello, can someone offer some help?