diff --git a/ci/jenkinsfile/milvus_build.groovy b/ci/jenkinsfile/milvus_build.groovy index c5d937c2becf5d96e119c156cb1697c938403246..66a54328ced916bdead5b93253f053d798040fb7 100644 --- a/ci/jenkinsfile/milvus_build.groovy +++ b/ci/jenkinsfile/milvus_build.groovy @@ -15,6 +15,8 @@ container('milvus-build-env') { && export JFROG_USER_NAME='${USERNAME}' \ && export JFROG_PASSWORD='${PASSWORD}' \ && export FAISS_URL='http://192.168.1.105:6060/jinhai/faiss/-/archive/branch-0.2.1/faiss-branch-0.2.1.tar.gz' \ + && export http_proxy=http://proxy.zilliz.tech:1087 \ + && export https_proxy=http://proxy.zilliz.tech:1087 \ && ./build.sh -t ${params.BUILD_TYPE} -j -u -c" sh "./coverage.sh -u root -p Fantast1c -t 192.168.1.194" diff --git a/ci/jenkinsfile/milvus_build_no_ut.groovy b/ci/jenkinsfile/milvus_build_no_ut.groovy index fadab2677adea9e689fb3dbdcf7fa6cdf025ef44..d14e4b317be17f763b21e5826491d4b26433155e 100644 --- a/ci/jenkinsfile/milvus_build_no_ut.groovy +++ b/ci/jenkinsfile/milvus_build_no_ut.groovy @@ -10,7 +10,14 @@ container('milvus-build-env') { sh "git config --global user.name \"test\"" withCredentials([usernamePassword(credentialsId: "${params.JFROG_USER}", usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { sh "./build.sh -l" - sh "export JFROG_ARTFACTORY_URL='${params.JFROG_ARTFACTORY_URL}' && export JFROG_USER_NAME='${USERNAME}' && export JFROG_PASSWORD='${PASSWORD}' && ./build.sh -t ${params.BUILD_TYPE} -j" + sh "rm -rf cmake_build" + sh "export JFROG_ARTFACTORY_URL='${params.JFROG_ARTFACTORY_URL}' \ + && export JFROG_USER_NAME='${USERNAME}' \ + && export JFROG_PASSWORD='${PASSWORD}' \ + && export FAISS_URL='http://192.168.1.105:6060/jinhai/faiss/-/archive/branch-0.2.1/faiss-branch-0.2.1.tar.gz' \ + && export http_proxy=http://proxy.zilliz.tech:1087 \ + && export https_proxy=http://proxy.zilliz.tech:1087 \ + && ./build.sh -t ${params.BUILD_TYPE} -j" sh "./coverage.sh -u root -p Fantast1c -t 192.168.1.194" } }