diff --git a/ci/jenkins/UT-CPP.groovy b/ci/jenkins/UT-CPP.groovy new file mode 100644 index 0000000000000..38768bf119868 --- /dev/null +++ b/ci/jenkins/UT-CPP.groovy @@ -0,0 +1,46 @@ +@Library('jenkins-shared-library@v0.62.0') _ + +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.cpp_ut 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() + } + } + } + } + } + } +}