pocomon
09/18/2022, 7:16 PM@TestTarget
public final Target target = new HttpTarget("https", "127.0.0.1", 443, "api", true);
2. I have a job in the pipeline which build the application by running the "mvn clean install" command . The provider test also runs in this scenario and as the environment is not ready it will fail the test and build will not succeed. I want to control the running of pact provider test only when invoked individually in a job for pact provider testing. In all the other cases if anyone invoke the command "mvn clean install" pact provider test cases should not run. How to handle this situation.
Thanks in advance for the help and guidance (edited)uglyog
pocomon
09/19/2022, 12:04 AMuglyog
uglyog
System.getenv, but there is no direct support for doing that