Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting pact.provider.version in the environment has no effect #1365

Open
akashagarwal7 opened this issue May 13, 2021 · 1 comment
Open

Comments

@akashagarwal7
Copy link
Contributor

Using au.com.dius.pact.provider:junit5spring:4.2.4, JDK 11, Gradle 6.5.

Setting pact.provider.version in the environment has no effect.
My workaround is to use System.setProperty("pact.provider.version", System.getenv("VERSION")); in a @BeforeAll block.

Other annotations like pactbroker.auth.token=blah;pact.verifier.publishResults=true;pactbroker.url=https://blah.pactflow.io; work if passed via environment.

@uglyog
Copy link
Member

uglyog commented May 23, 2021

4.2.6 has been released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants