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:39:37 +00:00
parent 9d2144ef81
commit a0aabe7b30

View File

@ -11,6 +11,7 @@ boolean isReleaseBranch = (env.BRANCH_NAME =~ /^release\/os\/.*/)
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))$/)
boolean isReleasePatch = (env.TAG_NAME =~ /^release.*([1-9]\d*|0)(\.([1-9]\d*|0)){2}$/)
/* /*
** calculate the stage for NexusIQ evaluation ** calculate the stage for NexusIQ evaluation
@ -307,7 +308,7 @@ pipeline {
stage('Publish Release to Docker Hub') { stage('Publish Release to Docker Hub') {
when { when {
expression { isReleaseTag && !isInternalRelease && !isReleaseCandidate} expression { isReleaseTag && !isInternalRelease && !isReleaseCandidate && !isReleasePatch}
} }
steps { steps {
withCredentials([ withCredentials([