From 62553743f816d04d24d9fa4cddb1eb342e16764d Mon Sep 17 00:00:00 2001 From: Gera Shegalov Date: Thu, 4 Jan 2024 11:25:59 -0800 Subject: [PATCH] Disable multi-threaded maven workaround for #10115, closes #10105 Signed-off-by: Gera Shegalov --- .github/workflows/mvn-verify-check.yml | 3 +-- jenkins/spark-nightly-build.sh | 6 +----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/mvn-verify-check.yml b/.github/workflows/mvn-verify-check.yml index 50780cd56d3..7d00dca36c5 100644 --- a/.github/workflows/mvn-verify-check.yml +++ b/.github/workflows/mvn-verify-check.yml @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2023, NVIDIA CORPORATION. +# Copyright (c) 2022-2024, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -29,7 +29,6 @@ env: -DskipTests -Dmaven.scaladoc.skip -Dmaven.artifact.threads=10 - --threads 1C --batch-mode -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.httpconnectionManager.ttlSeconds=30 diff --git a/jenkins/spark-nightly-build.sh b/jenkins/spark-nightly-build.sh index 5d331686659..b038cdc1c08 100755 --- a/jenkins/spark-nightly-build.sh +++ b/jenkins/spark-nightly-build.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2020-2023, NVIDIA CORPORATION. All rights reserved. +# Copyright (c) 2020-2024, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -103,10 +103,6 @@ function distWithReducedPom { # option to skip unit tests. Used in our CI to separate test runs in parallel stages SKIP_TESTS=${SKIP_TESTS:-"false"} -if [[ "${SKIP_TESTS}" == "true" ]]; then - # if skip test, we could try speed up build with multiple-threads - MVN="${MVN} -T1C" -fi set +H # turn off history expansion DEPLOY_SUBMODULES=${DEPLOY_SUBMODULES:-"!${DIST_PL}"} # TODO: deploy only required submodules to save time