Use Helm version 3 on Jenkins CI

pull/798/head
zilliz 2019-12-19 18:52:08 +08:00
parent 4a68f9e52a
commit 1ab333ba1a
2 changed files with 4 additions and 3 deletions

View File

@ -66,7 +66,7 @@ pipeline {
stage('Run Build') {
agent {
kubernetes {
label "${OS_NAME}-${BINARY_VERSION}-build-${env.BUILD_NUMBER}"
label "${OS_NAME}-${BINARY_VERSION}-build-${env.PIPELINE_NAME}-${env.BUILD_NUMBER}"
defaultContainer 'jnlp'
yamlFile "ci/jenkins/pod/milvus-${BINARY_VERSION}-version-${OS_NAME}-build-env-pod.yaml"
}
@ -112,7 +112,7 @@ pipeline {
stage('Publish docker images') {
agent {
kubernetes {
label "${OS_NAME}-${BINARY_VERSION}-publish-${env.BUILD_NUMBER}"
label "${OS_NAME}-${BINARY_VERSION}-publish-${env.PIPELINE_NAME}-${env.BUILD_NUMBER}"
defaultContainer 'jnlp'
yamlFile 'ci/jenkins/pod/docker-pod.yaml'
}
@ -140,7 +140,7 @@ pipeline {
agent {
kubernetes {
label "${OS_NAME}-${BINARY_VERSION}-dev-test-${env.BUILD_NUMBER}"
label "${OS_NAME}-${BINARY_VERSION}-dev-test-${env.PIPELINE_NAME}-${env.BUILD_NUMBER}"
defaultContainer 'jnlp'
yamlFile 'ci/jenkins/pod/testEnvironment.yaml'
}

View File

@ -1,3 +1,4 @@
sh 'helm version'
sh 'helm repo add stable https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts'
sh 'helm repo update'
dir ('milvus-helm') {