Skip to content
Snippets Groups Projects
Commit 6602cd4b authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4792 Removed old function from Jenkinsfile

parent 43596962
Branches
Tags 1.3.0
No related merge requests found
......@@ -12,7 +12,6 @@ pipeline {
SH_SUCCESS_STATUS_CODE = 0
IMAGE_TAG = generateImageTag()
HELM_CHART_VERSION = generateHelmChartVersion()
BUILD_TAG = generateBuildTag()
BUILD_PROFILE = setBuildProfile()
}
......@@ -159,19 +158,6 @@ String generateImageTag() {
return "${env.BRANCH_NAME}-${getPomVersion()}"
}
String generateBuildTag() {
def buildName = "docker.ozg-sh.de/administration"
def buildTag = buildName+":"+generateImageTag()
if (isMasterBranch()) {
buildTag += ","+buildName+":snapshot-latest"
} else if (isReleaseBranch()) {
buildTag += ","+buildName+":latest"
}
return buildTag
}
String getPomVersion() {
def pom = readMavenPom file: 'pom.xml'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment