bitbucket-branch-source-plugin
bitbucket-branch-source-plugin copied to clipboard
bitbucket webhook payload on env variable
What feature do you want to see added?
Hi, Is any chance to have the bitbucket webhook payload inside env var ? the are many cases we need to apply base on some information from the payload like send an email to all pr reviews user or triggered extra stage when pr has approved event key
Thanks
Upstream changes
No response
See https://github.com/jenkinsci/bitbucket-branch-source-plugin/issues/413#issuecomment-856624845 and https://github.com/jenkinsci/bitbucket-branch-source-plugin/compare/master...oleh-ozimok:bitbucket-branch-source-plugin:bitbucket-payload-in-job for a fork that at least saves the webhook payload, although doesn't publish it as an environment variable.
I saw the forked repo, but the question how I can have a ready build from it to install on my jenkins ? and how I can use the payload data inside my pipeline ? Could you please recap the steps for that ^_^
Thanks