Merge pull request #490 from ZhifengZhang-CN/0.6.0

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

View File

@ -114,7 +114,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 {