Merge pull request #501 from ZhifengZhang-CN/0.6.0

fixed Helm Release Name bug
This commit is contained in:
Jin Hai 2019-11-23 14:57:11 +08:00 committed by GitHub
commit 7595c0b3e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -249,7 +249,8 @@ pipeline {
stage("Deploy to Development") {
environment {
HELM_RELEASE_NAME = "${env.PIPELINE_NAME}-${env.SEMVER}-${env.BUILD_NUMBER}-single-${env.BINRARY_VERSION}".toLowerCase()
FROMAT_SEMVER = "${env.SEMVER}".replaceAll(".", "-")
HELM_RELEASE_NAME = "${env.PIPELINE_NAME}-${env.FROMAT_SEMVER}-${env.BUILD_NUMBER}-single-${env.BINRARY_VERSION}".toLowerCase()
}
agent {