diff --git a/dev-support/jenkins-execute-build.sh b/dev-support/jenkins-execute-build.sh index 2142942..972abae 100644 --- a/dev-support/jenkins-execute-build.sh +++ b/dev-support/jenkins-execute-build.sh @@ -70,9 +70,7 @@ test -n "$TEST_HANDLE" || fail "TEST_HANDLE must be specified and cannot be empt test -n "$PTEST_API_ENDPOINT" || fail "PTEST_API_ENDPOINT must be specified and cannot be empty." test -n "$PTEST_LOG_ENDPOINT" || fail "PTEST_LOG_ENDPOINT must be specified and cannot be empty." -# WORKSPACE is an environment variable created by Jenkins, and it is the directory where the build is executed. -# If not set, then default to $HOME -MVN_REPO_LOCAL=${WORKSPACE:-$HOME}/.m2/repository +MVN_REPO_LOCAL=${HOME}/.m2/repository # Directory where to build the ptest framework PTEST_BUILD_DIR="$PWD/hive/build" diff --git a/testutils/ptest2/src/main/resources/source-prep.vm b/testutils/ptest2/src/main/resources/source-prep.vm index 67e6a95..0fc22be 100644 --- a/testutils/ptest2/src/main/resources/source-prep.vm +++ b/testutils/ptest2/src/main/resources/source-prep.vm @@ -102,11 +102,11 @@ cd $workingDir/ fi done #end - mvn -B clean install -DskipTests -Dmaven.repo.local=$workingDir/maven $mavenArgs $mavenBuildArgs + mvn -B clean install -DskipTests -T 4 -q -Dmaven.repo.local=$workingDir/maven $mavenArgs $mavenBuildArgs if [[ -d "itests" ]] then cd itests - mvn -B clean install -DskipTests -Dmaven.repo.local=$workingDir/maven $mavenArgs $mavenBuildArgs + mvn -B clean install -DskipTests -T 4 -q -Dmaven.repo.local=$workingDir/maven $mavenArgs $mavenBuildArgs fi elif [[ "${buildTool}" == "ant" ]] then