From 7f4160d4108e7129a521b6551c9e22bc37b61895 Mon Sep 17 00:00:00 2001 From: Naveen Date: Tue, 6 Dec 2022 20:28:03 +0000 Subject: [PATCH] Exclude test in build script Signed-off-by: Naveen --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index 3c9fa4777..22a030413 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -103,7 +103,7 @@ fi # Build k-NN lib and plugin through gradle tasks cd $work_dir # Gradle build is used here to replace gradle assemble due to build will also call cmake and make before generating jars -./gradlew build --no-daemon --refresh-dependencies -x integTest -x jacocoTestReport -DskipTests=true -Dopensearch.version=$VERSION -Dbuild.snapshot=$SNAPSHOT -Dbuild.version_qualifier=$QUALIFIER +./gradlew build --no-daemon --refresh-dependencies -x integTest -x test -x jacocoTestReport -DskipTests=true -Dopensearch.version=$VERSION -Dbuild.snapshot=$SNAPSHOT -Dbuild.version_qualifier=$QUALIFIER # Add lib to zip zipPath=$(find "$(pwd)" -path \*build/distributions/*.zip)