Join Slack
Powered by
Hi guys :wave: may I ask please what is the purpos...
# pact-broker
j
Jan Měkota
07/31/2025, 11:44 AM
Hi guys 👋 may I ask please what is the purpose of the
--build-url
parameter in the
publish
command? When I use it, where in pactbroker is it used?
https://docs.pact.io/pact_broker/client_cli/readme#publish
We are using Pact Broker OSS.
blobwave
1
y
Yousaf Nabi (pactflow.io)
07/31/2025, 11:56 AM
It is used in webhook template parameters original inclusion
https://github.com/pact-foundation/pact_broker/commit/9b79b33f336cf2200f8eeee0f77a843423e1a663
so can be used in your slack notifications to provide a link back to the build that generated that contract (on publish), or from a build that verified the contract (on verification) It looks like the dynamic variable sub docs were not updated at the time
https://docs.pact.io/pact_broker/webhooks/dynamic_variable_sub#dynamic-variable-substitution
main source is here
https://github.com/pact-foundation/pact_broker/blob/master/lib/pact_broker/doc/views/webhooks.markdown#dynamic-variable-substitution
it would probably be worthwhile closing those documentation gaps
thankyou
1
3
Views
Open in Slack
Previous
Next