mirror of
https://github.com/corda/corda.git
synced 2024-12-20 21:43:14 +00:00
ENT-6542: Add Community Edition string for R3 builds (#7026)
This commit is contained in:
parent
c2140f727c
commit
857b8aa286
2
.ci/dev/regression/Jenkinsfile
vendored
2
.ci/dev/regression/Jenkinsfile
vendored
@ -10,6 +10,7 @@
|
|||||||
boolean isReleaseTag = (env.TAG_NAME =~ /^release-.*(?<!_JDK11)$/)
|
boolean isReleaseTag = (env.TAG_NAME =~ /^release-.*(?<!_JDK11)$/)
|
||||||
boolean isInternalRelease = (env.TAG_NAME =~ /^internal-release-.*$/)
|
boolean isInternalRelease = (env.TAG_NAME =~ /^internal-release-.*$/)
|
||||||
boolean isReleaseCandidate = (env.TAG_NAME =~ /^(release-.*(RC|HC).*(?<!_JDK11))$/)
|
boolean isReleaseCandidate = (env.TAG_NAME =~ /^(release-.*(RC|HC).*(?<!_JDK11))$/)
|
||||||
|
def buildEdition = (isReleaseTag || isReleaseCandidate) ? "Corda Community Edition" : "Corda Open Source"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** calculate the stage for NexusIQ evaluation
|
** calculate the stage for NexusIQ evaluation
|
||||||
@ -76,6 +77,7 @@ pipeline {
|
|||||||
ARTIFACTORY_CREDENTIALS = credentials('artifactory-credentials')
|
ARTIFACTORY_CREDENTIALS = credentials('artifactory-credentials')
|
||||||
CORDA_ARTIFACTORY_PASSWORD = "${env.ARTIFACTORY_CREDENTIALS_PSW}"
|
CORDA_ARTIFACTORY_PASSWORD = "${env.ARTIFACTORY_CREDENTIALS_PSW}"
|
||||||
CORDA_ARTIFACTORY_USERNAME = "${env.ARTIFACTORY_CREDENTIALS_USR}"
|
CORDA_ARTIFACTORY_USERNAME = "${env.ARTIFACTORY_CREDENTIALS_USR}"
|
||||||
|
CORDA_BUILD_EDITION = "${buildEdition}"
|
||||||
DOCKER_URL = "https://index.docker.io/v1/"
|
DOCKER_URL = "https://index.docker.io/v1/"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -13,6 +13,7 @@ buildscript {
|
|||||||
ext.baseVersion = constants.getProperty("cordaVersion")
|
ext.baseVersion = constants.getProperty("cordaVersion")
|
||||||
ext.versionSuffix = constants.getProperty("versionSuffix")
|
ext.versionSuffix = constants.getProperty("versionSuffix")
|
||||||
|
|
||||||
|
ext.corda_build_edition = System.getenv("CORDA_BUILD_EDITION")?.trim() ?: "Corda Open Source"
|
||||||
ext.corda_platform_version = constants.getProperty("platformVersion")
|
ext.corda_platform_version = constants.getProperty("platformVersion")
|
||||||
ext.gradle_plugins_version = constants.getProperty("gradlePluginsVersion")
|
ext.gradle_plugins_version = constants.getProperty("gradlePluginsVersion")
|
||||||
|
|
||||||
@ -329,7 +330,7 @@ allprojects {
|
|||||||
attributes('Corda-Release-Version': corda_release_version)
|
attributes('Corda-Release-Version': corda_release_version)
|
||||||
attributes('Corda-Platform-Version': corda_platform_version)
|
attributes('Corda-Platform-Version': corda_platform_version)
|
||||||
attributes('Corda-Revision': corda_revision)
|
attributes('Corda-Revision': corda_revision)
|
||||||
attributes('Corda-Vendor': 'Corda Open Source')
|
attributes('Corda-Vendor': corda_build_edition)
|
||||||
attributes('Automatic-Module-Name': "net.corda.${task.project.name.replaceAll('-', '.')}")
|
attributes('Automatic-Module-Name': "net.corda.${task.project.name.replaceAll('-', '.')}")
|
||||||
attributes('Corda-Docs-Link': corda_docs_link)
|
attributes('Corda-Docs-Link': corda_docs_link)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user