未验证 提交 b14fd5d5 编写于 作者: S Shengliang Guan 提交者: GitHub

Merge pull request #3838 from taosdata/hotfix/test

Hotfix/test fix jenkinsfile
...@@ -50,7 +50,7 @@ pipeline { ...@@ -50,7 +50,7 @@ pipeline {
make > /dev/null make > /dev/null
cd ${WKC}/tests cd ${WKC}/tests
#./test-all.sh smoke #./test-all.sh smoke
sh test-all.sh b1 ./test-all.sh b1
date''' date'''
} }
} }
...@@ -59,7 +59,7 @@ pipeline { ...@@ -59,7 +59,7 @@ pipeline {
agent{label "185"} agent{label "185"}
steps { steps {
sh ''' sh '''
date
cd ${WKC} cd ${WKC}
git checkout develop git checkout develop
git pull git pull
...@@ -68,17 +68,17 @@ pipeline { ...@@ -68,17 +68,17 @@ pipeline {
git checkout develop git checkout develop
git pull git pull
export TZ=Asia/Harbin export TZ=Asia/Harbin
date
rm -rf ${WK}/debug rm -rf ${WK}/debug
mkdir debug mkdir debug
cd debug cd debug
cmake .. > /dev/null cmake .. > /dev/null
make > /dev/null make > /dev/null
cd ${WKC}/tests/pytest cd ${WKC}/tests/pytest
sh crash_gen.sh -a -p -t 4 -s 2000 ./crash_gen.sh -a -p -t 4 -s 2000
date date
cd ${WKC}/tests cd ${WKC}/tests
sh test-all.sh b2 ./test-all.sh b2
date date
''' '''
} }
...@@ -104,7 +104,7 @@ pipeline { ...@@ -104,7 +104,7 @@ pipeline {
cmake .. > /dev/null cmake .. > /dev/null
make > /dev/null make > /dev/null
cd ${WKC}/tests/pytest cd ${WKC}/tests/pytest
sh start_valgrind.sh 2>&1 > mem-error-out.log ./valgrind-test.sh 2>&1 > mem-error-out.log
grep \'start to execute\\|ERROR SUMMARY\' mem-error-out.log|grep -v \'grep\'|uniq|tee uniq-mem-error-out.log grep \'start to execute\\|ERROR SUMMARY\' mem-error-out.log|grep -v \'grep\'|uniq|tee uniq-mem-error-out.log
for memError in `grep \'ERROR SUMMARY\' uniq-mem-error-out.log | awk \'{print $4}\'` for memError in `grep \'ERROR SUMMARY\' uniq-mem-error-out.log | awk \'{print $4}\'`
...@@ -130,8 +130,8 @@ pipeline { ...@@ -130,8 +130,8 @@ pipeline {
fi fi
done done
date date
cd ${WORKSPACE}/tests cd ${WKC}/tests
sh test-all.sh b3 ./test-all.sh b3
date''' date'''
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册