Skip to content

Commit

Permalink
archive
Browse files Browse the repository at this point in the history
Signed-off-by: Yellow Shine <[email protected]>
  • Loading branch information
yellow-shine committed Aug 16, 2024
1 parent e6d4663 commit 1c7245a
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions ci/jenkins/PR-for-go-sdk.groovy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@Library('[email protected].9') _
@Library('[email protected].10') _

def pod = libraryResource 'io/milvus/pod/tekton.yaml'
def output = [:]
Expand Down Expand Up @@ -71,8 +71,8 @@ pipeline {
steps {
container('kubectl') {
script {
helm_release_name = tekton.release_name milvus_deployment_option: milvus_deployment_option,
changeId: "${env.CHANGE_ID}",
helm_release_name = tekton.release_name milvus_deployment_option: milvus_deployment_option,
changeId: "${env.CHANGE_ID}",
buildId:"${env.BUILD_ID}"

job_name = tekton.test helm_release_name: helm_release_name,
Expand All @@ -98,9 +98,20 @@ pipeline {
}
post {
always {
container('tkn') {
script {
steps {
container('tkn') {
script {
tekton.sure_stop(job_name)
}
}

container('archive') {
script {
tekton.archive milvus_deployment_option: milvus_deployment_option,
release_name: helm_release_name ,
change_id: env.CHANGE_ID,
build_id: env.BUILD_ID
}
}
}
}
Expand Down

0 comments on commit 1c7245a

Please sign in to comment.