is there a way to publish verification results through pact broker cli tool?
Closed this issue · 2 comments
That line may be referring to the can-i-deploy
which retrieves verification results
https://docs.pact.io/pact_broker/client_cli/readme#can-i-deploy
but also the pact-provider-verifier
which is packaged into the docker CLI, in the Pact CLI Docker image
llink.
When you run the pact-verifier, you can choose whether to publish results, which is a separate tool which doesn't appear to be referenced in that readme.
Publishing the verification results is done in the verification task itself. There is no separate tool for this, because the verification results need to be published when the verification fails (and hence, the process exits with an error status). Trying to manage a separate task that only runs after the failure of a previous step would be complex to manage, so it's much simpler if the verification tool does that part itself.