https://pact.io logo
#pact-broker
Title
# pact-broker
r

Rafa

04/22/2022, 2:35 PM
hi, has anyone else seen this when triggering pactflow webhooks?
Copy code
Pact successfully republished for asd version 0.2.44-SNAPSHOT-8b5c0274 and provider qwe with no content changes.
  View the published pact at https://...
  Events detected: contract_published, contract_requiring_verification_published
  Webhook "git-pact-webhook-qwe" triggered for event contract_requiring_verification_published.
    View logs at https://...
  Webhook "git-pact-webhook-qwe" triggered for event contract_requiring_verification_published.
    View logs at https://...
the event
contract_requiring_verification_published
triggered 2 runs! thanks
a

Akke Luukkonen

04/25/2022, 5:24 AM
Probably for 2 different contracts? It fires for each contract requiring verifiction, per the name. For me it triggers twice because it tests the latest in my
prod
and
dev
environments that I have setup
I have it setup so that in the body I pass the URL of the specific contract it wants to test as well as the Git hash. In my case this data travels through an Azure Function (serverless app), which then starts the correct pipeline in Azure DevOps.
r

Rafa

04/25/2022, 7:48 AM
ah thank you, that makes a lot of sense!
thanks!
👍 1
Have a look at the docs.
It will trigger a webhook for the main branch and all the deployed versions.