Skip to content

Commit

Permalink
enhance: ut for cpp code
Browse files Browse the repository at this point in the history
Signed-off-by: Yellow Shine <[email protected]>
  • Loading branch information
yellow-shine committed Oct 17, 2024
1 parent 4d08eec commit 91d12b5
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions ci/jenkins/UT-CPP.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
@Library('[email protected]') _

def pod = libraryResource 'io/milvus/pod/tekton-4am.yaml'
def milvus_helm_chart_version = '4.2.8'

pipeline {
options {
skipDefaultCheckout true
parallelsAlwaysFailFast()
buildDiscarder logRotator(artifactDaysToKeepStr: '30')
preserveStashes(buildCount: 5)
disableConcurrentBuilds(abortPrevious: true)
}
agent {
kubernetes {
cloud '4am'
yaml pod
}
}
stages {
stage('build') {
steps {
container('tkn') {
script {
def job_name = tekton.ut_for_cpp arch: 'amd64',
isPr: isPr,
gitMode: gitMode ,
gitBaseRef: gitBaseRef,
pullRequestNumber: "$env.CHANGE_ID",
suppress_suffix_of_image_tag: true,

}
}
}
post {
always {
container('tkn') {
script {
tekton.sure_stop()
}
}
}
}
}
}
}

0 comments on commit 91d12b5

Please sign in to comment.