提交 b0132991 编写于 作者: sangshuduo's avatar sangshuduo

fix: use jenkinsfile2 same as develop branch

上级 8a6a6f7c
...@@ -150,14 +150,8 @@ def pre_test_arm64() { ...@@ -150,14 +150,8 @@ def pre_test_arm64() {
def pre_test() { def pre_test() {
sync_source() sync_source()
sh ''' sh '''
cd ${WK} cd ${WKC}/tests/parallel_test
mkdir -p debug ./container_build.sh -w ${WKDIR} -t 8 >/dev/null
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
''' '''
return 1 return 1
} }
...@@ -325,6 +319,7 @@ pipeline { ...@@ -325,6 +319,7 @@ pipeline {
agent none agent none
options { skipDefaultCheckout() } options { skipDefaultCheckout() }
environment{ environment{
WKDIR = '/var/data/jenkins/workspace'
WK = '/var/data/jenkins/workspace/TDinternal' WK = '/var/data/jenkins/workspace/TDinternal'
WKC = '/var/data/jenkins/workspace/TDinternal/community' WKC = '/var/data/jenkins/workspace/TDinternal/community'
LOGDIR = '/var/data/jenkins/workspace/log' LOGDIR = '/var/data/jenkins/workspace/log'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册