Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bitbucket webhook payload on env variable #691

Open
wawashra opened this issue Mar 25, 2023 · 2 comments
Open

bitbucket webhook payload on env variable #691

wawashra opened this issue Mar 25, 2023 · 2 comments

Comments

@wawashra
Copy link

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

@KalleOlaviNiemitalo
Copy link
Contributor

See #413 (comment) and 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.

@wawashra
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants