diff --git a/Jenkinsfile b/Jenkinsfile index 221bf5e49067b1be80153d924ab7fce97774457d..00bd7fff776a2be176ca8287146487632004e705 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,7 +39,7 @@ def pre_test(){ sudo rmtaos || echo "taosd has not installed" ''' sh ''' - ps -ef | grep taosd | grep -v grep | awk '{print $2}' | xargs kill -9 + ps -ef | grep taosd | grep -v grep | awk '{print $2}' | xargs kill -9 //avoid taosd deadlock cd ${WKC} git checkout develop git reset --hard HEAD~10 >/dev/null diff --git a/tests/Jenkinsfile b/tests/Jenkinsfile index 7cdcfb2e24f92a96e2d3cc15324ca4f3ac4bc7a8..cba172c35b5d6d783fa8ec512fb3e0afad1e9197 100644 --- a/tests/Jenkinsfile +++ b/tests/Jenkinsfile @@ -56,14 +56,8 @@ pipeline { cd ${WKC}/tests ./test-all.sh b1 date''' - sh ''' - cd ${WKC}/tests - ./test-all.sh full jdbc - date''' - sh ''' - cd ${WKC}/tests - ./test-all.sh full unit - date''' + + } } @@ -136,6 +130,10 @@ pipeline { ./test-all.sh b2 date ''' + sh ''' + cd ${WKC}/tests + ./test-all.sh full unit + date''' } } @@ -154,6 +152,10 @@ pipeline { ''' } sh ''' + cd ${WKC}/tests + ./test-all.sh full jdbc + date''' + sh ''' cd ${WKC}/tests/pytest ./valgrind-test.sh 2>&1 > mem-error-out.log ./handle_val_log.sh