Basu Silviu
02/03/2023, 11:38 AMPACT_DO_NOT_TRACK
to true (similar to the way I am setting the pact.verifier.publishResults
to true which works). Unfortunately, I still get at build the message:
Please note: we are tracking events anonymously to gather important usage statistics like JVM version and operating system. To disable tracking, set the 'pact_do_not_track' system property or environment variable to 'true'.
which makes me believe it is not working. Is there another way of writing the PACT_DO_NOT_TRACK
(e.g. with dots)?
The Surefire looks like:
<systemProperties>
<property>
<name>pact.verifier.publishResults</name>
<value>true</value>
</property>
<property>
<name>PACT_DO_NOT_TRACK</name>
<value>true</value>
</property>
</systemProperties>
Thanks,Yousaf Nabi (pactflow.io)
Basu Silviu
02/03/2023, 12:30 PMBasu Silviu
02/03/2023, 12:31 PMBasu Silviu
02/03/2023, 12:31 PMYousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
Basu Silviu
02/03/2023, 12:32 PMBasu Silviu
02/03/2023, 12:32 PMBasu Silviu
02/03/2023, 12:33 PM2023-02-03 12:13:40.891 WARN --- [ Thread-4] au.com.dius.pact.core.support.Metrics :
Please note: we are tracking events anonymously to gather important usage statistics like JVM version
and operating system. To disable tracking, set the 'pact_do_not_track' system property or environment
variable to 'true'.
Error: Exception in thread "Thread-4" java.lang.NoSuchMethodError: org.apache.commons.codec.digest.DigestUtils.<init>(Ljava/security/MessageDigest;)V
at au.com.dius.pact.core.support.Metrics.hostnameHash(Metrics.kt:150)
at au.com.dius.pact.core.support.Metrics.access$hostnameHash(Metrics.kt:74)
at au.com.dius.pact.core.support.Metrics$sendMetrics$1.run(Metrics.kt:104)
at java.lang.Thread.run(Thread.java:750)
Basu Silviu
02/03/2023, 12:33 PMBuild
org.apache.commons.codec.digest.DigestUtils.<init>(Ljava/security/MessageDigest;)V
Basu Silviu
02/03/2023, 12:34 PMYousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
Basu Silviu
02/03/2023, 12:37 PMBasu Silviu
02/03/2023, 12:39 PMYousaf Nabi (pactflow.io)
if: always()
or any special conditions in your workflow?Basu Silviu
02/03/2023, 12:47 PMBasu Silviu
02/03/2023, 12:54 PM