-
New Feature
-
Resolution: Unresolved
-
Major
-
None
We are currently trying to integrate Bitbucket Server/Data Center with Jenkins Templating Engine and it seems that the Bitbucket Environment Variables in both `bitbucket-push-and-pull-request-plugin` and `atlassian-bitbucket-server-integration-plugin` are not being properly injected into the Pipeline.
Namely the ones that would help us to know if the build is coming from a Pull Request
Ideally we would like to have an experience similar to GitHub or GitLab plugins
e.g.: https://github.com/boozallen/sdp-libraries/blob/main/libraries/git/steps/on_pull_request.groovy