pact-foundation / roadmap

Developer Relations @ Pact - Your map to the Pact landscape for all-comers (maintainers, contributors, users, newbies)
https://pact.io/
MIT License
39 stars 6 forks source link

Webhook: Trigger job per tag #51

Open canny[bot] opened 4 days ago

canny[bot] commented 4 days ago

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

canny[bot] commented 4 days ago

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

YOU54F commented 4 days ago

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 https://github.com/pact-foundation/pact_broker/discussions/517