Jayachandra K
03/17/2022, 6:32 AMpact {
publish {
pactDirectory = "$buildDir/pacts"
pactBrokerUrl = '<https://pact.sample.com/>'
pactBrokerUsername = 'username'
pactBrokerPassword = System.getenv("PACT_PASSWORD")
version = System.getenv("COMMIT_HASH")
}
}
with this config the project version is affected and changed to the version of pact
I want to keep actual project version 1.0-SNAPSHOT
and pact consumer version to COMMIT_HASH
,. Is it possible or am i missing something here?
pact-broker version 2.94.0.0
Matt (pactflow.io / pact-js / pact-go)
Jayachandra K
03/17/2022, 11:22 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
consumerVersion
and not version
.Jayachandra K
03/17/2022, 1:50 PMJayachandra K
03/17/2022, 1:50 PM