Skip to content

Commit

Permalink
Disable multi-threaded maven
Browse files Browse the repository at this point in the history
workaround for #10115, closes #10105

Signed-off-by: Gera Shegalov <[email protected]>
  • Loading branch information
gerashegalov committed Jan 4, 2024
1 parent 142dead commit 6255374
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/mvn-verify-check.yml
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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
Expand Down
6 changes: 1 addition & 5 deletions jenkins/spark-nightly-build.sh
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6255374

Please sign in to comment.