mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 21:09:06 +08:00
Delete unittest binary on jenkins ci packaging stage
This commit is contained in:
parent
c4f56ddd36
commit
9194bdfb0b
@ -5,6 +5,9 @@ container('milvus-build-env') {
|
|||||||
gitlabCommitStatus(name: 'Packaged Engine') {
|
gitlabCommitStatus(name: 'Packaged Engine') {
|
||||||
if (fileExists('milvus')) {
|
if (fileExists('milvus')) {
|
||||||
try {
|
try {
|
||||||
|
if (fileExists('milvus/unittest')) {
|
||||||
|
sh "rm -rf ./milvus/unittest"
|
||||||
|
}
|
||||||
sh "tar -zcvf ./${PROJECT_NAME}-engine-${PACKAGE_VERSION}.tar.gz ./milvus"
|
sh "tar -zcvf ./${PROJECT_NAME}-engine-${PACKAGE_VERSION}.tar.gz ./milvus"
|
||||||
def fileTransfer = load "${env.WORKSPACE}/ci/function/file_transfer.groovy"
|
def fileTransfer = load "${env.WORKSPACE}/ci/function/file_transfer.groovy"
|
||||||
fileTransfer.FileTransfer("${PROJECT_NAME}-engine-${PACKAGE_VERSION}.tar.gz", "${PROJECT_NAME}/engine/${JOB_NAME}-${BUILD_ID}", 'nas storage')
|
fileTransfer.FileTransfer("${PROJECT_NAME}-engine-${PACKAGE_VERSION}.tar.gz", "${PROJECT_NAME}/engine/${JOB_NAME}-${BUILD_ID}", 'nas storage')
|
||||||
|
Loading…
Reference in New Issue
Block a user