Evening everyone, Can I get a sanity check please ...
# pact-jvm
n
Evening everyone, Can I get a sanity check please on webhooks? I have pushed a consumer with a branch to pactflow (all good) This has then triggered a webhook in our CICD to trigger the provider - with some properties such as the pact-url for verification (all good) In the provider I have set the following properties:
Copy code
systemProperty "pact.provider.version", getGitHash()
systemProperty "pact.provider.branch", getGitBranch()
systemProperty "pact.verifier.publishResults", "true"

systemProperty "pact.filter.consumers", [nameOfConsumer]
systemProperty "pact.filter.pacturl", [pact-url-from-webhook]
I’d expect given I have set the
pact.filter.pacturl
that it should only run the provider tests for that are in the url provided - but it seems to be running everything and also not verifying the consumer branch I am expecting. It is as though the
pact.filter.pacturl
is being ignored?
I think I forgot an annotation
@AllowOverridePactUrl