From 7adc0ecaea589f5b7bb2edd977d6a5249ab3a5e8 Mon Sep 17 00:00:00 2001 From: tangfangzhi Date: Wed, 1 Jun 2022 16:44:29 +0800 Subject: [PATCH] enh: install python connector for ci windows test --- Jenkinsfile2 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Jenkinsfile2 b/Jenkinsfile2 index 664b336cfb..6c5e166af2 100644 --- a/Jenkinsfile2 +++ b/Jenkinsfile2 @@ -227,6 +227,16 @@ def pre_test_win(){ cd C:\\workspace\\%EXECUTOR_NUMBER%\\TDinternal\\community git submodule update --init --recursive ''' + bat ''' + cd C:\\workspace\\%EXECUTOR_NUMBER%\\taos-connector-python + git branch + git reset --hard + git pull + ''' + bat ''' + cd C:\\workspace\\%EXECUTOR_NUMBER%\\taos-connector-python + git log -5 + ''' } def pre_test_build_win() { bat ''' @@ -246,6 +256,10 @@ def pre_test_build_win() { jom -j 6 || exit 8 time /t ''' + bat ''' + cd C:\\workspace\\%EXECUTOR_NUMBER%\\taos-connector-python + python -m pip install . + ''' return 1 } def run_win_ctest() { @@ -325,6 +339,7 @@ pipeline { service taosd start sleep 20 service taosd status + rm -rf ${WKC}/debug ''' sh ''' cd ${WKC}/tests/parallel_test -- GitLab