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

Add bitbucket webhook build cause #465

Closed

Conversation

anton-kyrylenko
Copy link

Ability to get the bitbucket webhook cause payload.

@lifeofguenter
Copy link
Contributor

Hi,

Could you please fix the merge conflicts? :)

@DrFaust92
Copy link

anton-kyrylenko are you still looking into this? if not a i can fork an rebase on top of this PR

@DrFaust92 DrFaust92 mentioned this pull request Apr 6, 2022
6 tasks
@DrFaust92
Copy link

@lifeofguenter, low effort rebase at #585 if this can speed this along.

@nfalco79 nfalco79 self-requested a review November 28, 2024 12:32
private String payload;

public WebhookCause(String payload) {
this.payload = payload;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the entire payload it's too much (maybe it's not safe neither to expose)
Store only the type of webhook event so in the cause you will see something like "pr::created event"

}

public String getShortDescription() {
return "Bitbucket Webhook Cause";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use message from property file like: Messages.WebhookCause_shortDescription(eventType);
So it can be translated

@nfalco79
Copy link
Member

nfalco79 commented Jan 4, 2025

The plugin https://github.com/jenkinsci/bitbucket-plugin already provide the same functionality.

@nfalco79 nfalco79 closed this Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants