mirror of
https://github.com/corda/corda.git
synced 2025-04-07 19:34:41 +00:00
INFRA-435 Don't publish internal releases to Docker (#6475)
This commit is contained in:
parent
fad8999ef4
commit
9b77f9a170
3
.ci/dev/regression/Jenkinsfile
vendored
3
.ci/dev/regression/Jenkinsfile
vendored
@ -18,6 +18,7 @@ killAllExistingBuildsForJob(env.JOB_NAME, env.BUILD_NUMBER.toInteger())
|
||||
* Sense environment
|
||||
*/
|
||||
boolean isReleaseTag = (env.TAG_NAME =~ /^release-.*(?<!_JDK11)$/)
|
||||
boolean isInternalRelease = (env.TAG_NAME =~ /^internal-release-.*$/)
|
||||
/*
|
||||
** calculate the stage for NexusIQ evaluation
|
||||
** * build for snapshots
|
||||
@ -153,7 +154,7 @@ pipeline {
|
||||
|
||||
stage('Publish Release to Docker Hub') {
|
||||
when {
|
||||
expression { isReleaseTag }
|
||||
expression { !isInternalRelease && isReleaseTag }
|
||||
}
|
||||
steps {
|
||||
withCredentials([
|
||||
|
Loading…
x
Reference in New Issue
Block a user