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

Webhook: Trigger job per tag #51

Open
canny bot opened this issue Jun 26, 2024 · 2 comments
Open

Webhook: Trigger job per tag #51

canny bot opened this issue Jun 26, 2024 · 2 comments

Comments

@canny
Copy link

canny bot commented Jun 26, 2024

If a consumer has published a new contract and there are several tags connected to them, it should be possible to trigger a webhook per tag.
We currently do the tag matching via the branch names of consumer / provider and the publication triggers a jenkins build. When there are several tags associated with the consumer, the URL to the jenkins job will currently not match becaus of the comma separated list ${pactbroker.consumerVersionTags}.

It would be great if it was possible to execute the webhook per tag.

https://pact.canny.io/admin/board/feature-requests/p/webhook-trigger-job-per-tag

Copy link
Author

canny bot commented Jun 26, 2024

This issue has been linked to a Canny post: Webhook: Trigger job per tag 🎉

@YOU54F
Copy link
Member

YOU54F commented Jun 26, 2024

Bheem - May 10, 2021

Can you elaborate a bit why there are multiple tags and benefits triggering job per tag ?

Beth - October 15, 2021

A new webhook event has been released https://docs.pact.io/blog/2021/10/11/contract-requiring-verification-published-webhook-event
Please see potential new feature discussed here that would build on top of it, and meet this requirement pact-foundation/pact_broker#517

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

No branches or pull requests

1 participant