ENT-6716 Remove Corda OS image publishing to Docker hub for CE4.8.x patches and below

This commit is contained in:
ConnelMcGovern 2022-03-22 15:15:05 +00:00
parent 69d87df562
commit d1adf3643d

View File

@ -10,6 +10,7 @@
boolean isReleaseTag = (env.TAG_NAME =~ /^release-.*(?<!_JDK11)$/)
boolean isInternalRelease = (env.TAG_NAME =~ /^internal-release-.*$/)
boolean isReleaseCandidate = (env.TAG_NAME =~ /^(release-.*(RC|HC).*(?<!_JDK11))$/)
boolean isReleasePatch = (env.TAG_NAME =~ /^release.*([1-9]\d*|0)(\.([1-9]\d*|0)){2}$/)
/*
** calculate the stage for NexusIQ evaluation
@ -305,7 +306,7 @@ pipeline {
stage('Publish Release to Docker Hub') {
when {
expression { isReleaseTag && !isInternalRelease && !isReleaseCandidate}
expression { isReleaseTag && !isInternalRelease && !isReleaseCandidate && !isReleasePatch}
}
steps {
withCredentials([