Hello :wave: - I have BDCT setup for a couple of s...
# pactflow
a
Hello đź‘‹ - I have BDCT setup for a couple of services, and am experimenting with webhooks to send messages when a new contract is published. I have webhooks set to be triggered by "Contract published" and "Contract published with changed content or tags" but in both cases the
${pactbroker.providerVersionNumber}
and
${pactbroker.providerVersionBranch}
variables are not available (blank). What is the concept I'm missing here?
m
Those variables aren’t populated for that event, because it doesn’t know what provider versions to target. This one does: https://docs.pact.io/pact_broker/webhooks#using-webhooks-with-the-contract_requiring_verification_published-event
Those variables could do with an update, as they don’t all get sent for all webhook types. In some cases for obvious reasons, in others (like this) perhaps not so obviously
🙏 1