From 475a424afb548a15265b38ea77887f04dcfa1821 Mon Sep 17 00:00:00 2001 From: Ashutosh Chauhan Date: Fri, 13 Oct 2017 15:38:27 -0700 Subject: [PATCH] HIVE-17807 : Execute maven commands in batch mode for ptests --- dev-support/jenkins-execute-build.sh | 2 +- dev-support/jenkins-execute-hms-test.sh | 2 +- testutils/ptest2/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-support/jenkins-execute-build.sh b/dev-support/jenkins-execute-build.sh index 2142942fa0..8c1a93c3bc 100644 --- a/dev-support/jenkins-execute-build.sh +++ b/dev-support/jenkins-execute-build.sh @@ -37,7 +37,7 @@ build_ptest_client() { git clone --depth 1 ${GIT_CLONE_ARGS} cd hive/testutils/ptest2 - mvn clean package -DskipTests -Drat.numUnapprovedLicenses=1000 -Dmaven.repo.local=$MVN_REPO_LOCAL + mvn clean package -B -DskipTests -Drat.numUnapprovedLicenses=1000 -Dmaven.repo.local=$MVN_REPO_LOCAL } # Call the ptest server to run all tests diff --git a/dev-support/jenkins-execute-hms-test.sh b/dev-support/jenkins-execute-hms-test.sh index 52a9453329..ac36c805e3 100644 --- a/dev-support/jenkins-execute-hms-test.sh +++ b/dev-support/jenkins-execute-hms-test.sh @@ -97,7 +97,7 @@ build_ptest2() { rm -rf $path git clone --depth 1 -b $BRANCH https://github.com/apache/hive.git $path/ || return 1 cd $path/testutils/ptest2 - mvn clean package -DskipTests -Drat.numUnapprovedLicenses=1000 -Dmaven.repo.local=$WORKSPACE/.m2 || return 1 + mvn clean package -B -DskipTests -Drat.numUnapprovedLicenses=1000 -Dmaven.repo.local=$WORKSPACE/.m2 || return 1 cd $curpath } diff --git a/testutils/ptest2/pom.xml b/testutils/ptest2/pom.xml index 26671ccba3..d86c7bfbb9 100644 --- a/testutils/ptest2/pom.xml +++ b/testutils/ptest2/pom.xml @@ -21,7 +21,7 @@ limitations under the License. 4.0.0 org.apache.hive hive-ptest - 1.0 + 3.0 war hive-ptest -- 2.13.5 (Apple Git-94)