diff --git a/Jenkinsfile2 b/Jenkinsfile2 index 441cf896267bed8cd67637c1ea328e884bf0012f..cca886d4afda1f8711c06a3dec1afac201c69db7 100644 --- a/Jenkinsfile2 +++ b/Jenkinsfile2 @@ -88,6 +88,12 @@ def pre_test(){ cmake .. > /dev/null make -j4> /dev/null ''' + sh''' + cd ${WKPY} + git reset --hard + git pull + pip3 install . + ''' return 1 } @@ -97,6 +103,7 @@ pipeline { environment{ WK = '/var/lib/jenkins/workspace/TDinternal' WKC= '/var/lib/jenkins/workspace/TDengine' + WKPY= '/var/lib/jenkins/workspace/taos-connector-python' } stages { stage('pre_build'){ @@ -113,13 +120,18 @@ pipeline { timeout(time: 45, unit: 'MINUTES'){ pre_test() sh''' - cd ${WKC}/tests - ./test-all.sh b1fq - ''' - sh''' cd ${WKC}/debug ctest ''' + sh''' + export LD_LIBRARY_PATH=${WKC}/debug/build/lib + cd ${WKC}/tests/system-test + ./fulltest.sh + ''' + sh''' + cd ${WKC}/tests + ./test-all.sh b1fq + ''' } } }