提交 206363c2 编写于 作者: T tangfangzhi

fix: change build order

上级 df1bed48
...@@ -283,7 +283,7 @@ pipeline { ...@@ -283,7 +283,7 @@ pipeline {
agent{label " windows10_01 || windows10_02 || windows10_03 || windows10_04 "} agent{label " windows10_01 || windows10_02 || windows10_03 || windows10_04 "}
steps { steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
timeout(time: 40, unit: 'MINUTES'){ timeout(time: 55, unit: 'MINUTES'){
pre_test_win() pre_test_win()
pre_test_build_win() pre_test_build_win()
run_win_ctest() run_win_ctest()
...@@ -308,16 +308,9 @@ pipeline { ...@@ -308,16 +308,9 @@ pipeline {
} }
steps { steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
timeout(time: 40, unit: 'MINUTES'){ timeout(time: 15, unit: 'MINUTES'){
pre_test() pre_test()
script { script {
sh '''
cd ${WKC}/tests/parallel_test
date
time ./container_build.sh -w ${WKDIR} -t 8 -e
rm -f /tmp/cases.task
./collect_cases.sh -e
'''
sh ''' sh '''
echo "packaging ..." echo "packaging ..."
date date
...@@ -325,7 +318,7 @@ pipeline { ...@@ -325,7 +318,7 @@ pipeline {
./release.sh -v cluster -n 3.0.0.100 -s static ./release.sh -v cluster -n 3.0.0.100 -s static
cd ${WKC}/release cd ${WKC}/release
tar xzf TDengine-enterprise-server-3.0.0.100-Linux-x64.tar.gz tar xzf TDengine-enterprise-server-3.0.0.100-Linux-x64.tar.gz
cd TDengine-enterprise-server cd TDengine-enterprise-server-3.0.0.100
service taosd stop || : service taosd stop || :
rm -rf /var/lib/taos rm -rf /var/lib/taos
./install.sh -e no ./install.sh -e no
...@@ -333,6 +326,13 @@ pipeline { ...@@ -333,6 +326,13 @@ pipeline {
sleep 20 sleep 20
service taosd status service taosd status
''' '''
sh '''
cd ${WKC}/tests/parallel_test
date
time ./container_build.sh -w ${WKDIR} -t 8 -e
rm -f /tmp/cases.task
./collect_cases.sh -e
'''
} }
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册