From ebd4bbe0756feedb097be040d8eb87a449d0a7ce Mon Sep 17 00:00:00 2001 From: dingbo Date: Fri, 10 Jun 2022 09:31:51 +0800 Subject: [PATCH] test: test_R.sh --- tests/docs-examples-test/test_R.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/docs-examples-test/test_R.sh b/tests/docs-examples-test/test_R.sh index 8d2db4546f..fe6c571e14 100755 --- a/tests/docs-examples-test/test_R.sh +++ b/tests/docs-examples-test/test_R.sh @@ -7,7 +7,10 @@ pgrep taosadapter || taosadapter >> /dev/null 2>&1 & cd ../../docs-examples/R -jar_path=`find ../../../debug/build -name taos-jdbcdriver-*-dist.jar` +git clone -b main --depth 1 git@github.com:taosdata/taos-connector-jdbc.git +cd taos-connector-jdbc +mvn clean package -DskipTests +jar_path=`find ./ -name taos-jdbcdriver-*-dist.jar` echo jar_path=$jar_path R -f connect_native.r --args $jar_path # R -f connect_rest.r --args $jar_path # bug 14704 -- GitLab