Verifier docker image support for custom stubs classifier

Adds the possibility to provide custom stubs classifier. Might be useful to serve as some kind of tag for the stubs published.
This commit is contained in:
Dominik Labuda
2019-03-29 13:27:16 +01:00
parent bd77386da9
commit d3ff357a54
2 changed files with 2 additions and 0 deletions

View File

@@ -60,6 +60,7 @@ test {
contracts {
baseClassForTests = "contracts.RestBase"
testMode = "EXPLICIT"
stubsSuffix = getProp("PRODUCER_STUBS_CLASSIFIER") ?: "stubs"
if (getProp("EXTERNAL_CONTRACTS_ARTIFACT_ID")) {
logger.
lifecycle("Will use an artifact with contracts [${getProp("EXTERNAL_CONTRACTS_GROUP_ID")}:${getProp("EXTERNAL_CONTRACTS_ARTIFACT_ID")}]")

View File

@@ -1084,6 +1084,7 @@ your running application, to the Artifact manager instance etc.
- `PROJECT_GROUP` - your project's group id. Defaults to `com.example`
- `PROJECT_VERSION` - your project's version. Defaults to `0.0.1-SNAPSHOT`
- `PROJECT_NAME` - artifact id. Defaults to `example`
- `PRODUCER_STUBS_CLASSIFIER` - archive classifier used for generated producer stubs, defaults to `stubs`.
- `REPO_WITH_BINARIES_URL` - URL of your Artifact Manager. Defaults to `http://localhost:8081/artifactory/libs-release-local`
which is the default URL of https://jfrog.com/artifactory/[Artifactory] running locally
- `REPO_WITH_BINARIES_USERNAME` - (optional) username when the Artifact Manager is secured, defaults to `admin`.