From b013299111c2d2e7b0ae1dc0a55883a862910f65 Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Sat, 30 Jul 2022 13:30:30 +0800 Subject: [PATCH] fix: use jenkinsfile2 same as develop branch --- Jenkinsfile2 | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile2 b/Jenkinsfile2 index df2ce5a2cd..6549f714a1 100644 --- a/Jenkinsfile2 +++ b/Jenkinsfile2 @@ -150,14 +150,8 @@ def pre_test_arm64() { def pre_test() { sync_source() sh ''' - cd ${WK} - mkdir -p debug - cd debug - go env -w GOPROXY=https://goproxy.cn,direct - go env -w GO111MODULE=on - cmake .. -DBUILD_HTTP=false -DBUILD_TOOLS=true > /dev/null - make -j8 >/dev/null - make install + cd ${WKC}/tests/parallel_test + ./container_build.sh -w ${WKDIR} -t 8 >/dev/null ''' return 1 } @@ -325,6 +319,7 @@ pipeline { agent none options { skipDefaultCheckout() } environment{ + WKDIR = '/var/data/jenkins/workspace' WK = '/var/data/jenkins/workspace/TDinternal' WKC = '/var/data/jenkins/workspace/TDinternal/community' LOGDIR = '/var/data/jenkins/workspace/log' -- GitLab