diff --git a/tools/ci/compile.sh b/tools/ci/compile.sh index ee4ba13d940a5..0603e7b7e48b3 100755 --- a/tools/ci/compile.sh +++ b/tools/ci/compile.sh @@ -58,8 +58,9 @@ echo "========================================================================== EXIT_CODE=0 +# run with -T1 because our maven output parsers don't support multi-threaded builds $MVN clean deploy -DaltDeploymentRepository=validation_repository::default::file:$MVN_VALIDATION_DIR -Dflink.convergence.phase=install -Pcheck-convergence \ - -Dmaven.javadoc.skip=true -U -DskipTests "${@}" | tee $MVN_CLEAN_COMPILE_OUT + -Dmaven.javadoc.skip=true -U -DskipTests "${@}" -T1 | tee $MVN_CLEAN_COMPILE_OUT EXIT_CODE=${PIPESTATUS[0]} diff --git a/tools/ci/verify_bundled_optional.sh b/tools/ci/verify_bundled_optional.sh index 276d95eb63403..e0f5a22255da0 100755 --- a/tools/ci/verify_bundled_optional.sh +++ b/tools/ci/verify_bundled_optional.sh @@ -48,7 +48,8 @@ MVN=${MVN:-./mvnw} dependency_plugin_output=/tmp/optional_dep.txt -$MVN dependency:tree -B > "${dependency_plugin_output}" +# run with -T1 because our maven output parsers don't support multi-threaded builds +$MVN dependency:tree -B -T1 > "${dependency_plugin_output}" EXIT_CODE=$? if [ $EXIT_CODE != 0 ]; then diff --git a/tools/ci/verify_scala_suffixes.sh b/tools/ci/verify_scala_suffixes.sh index 9747066b4c8b0..f6aae040731ea 100755 --- a/tools/ci/verify_scala_suffixes.sh +++ b/tools/ci/verify_scala_suffixes.sh @@ -63,7 +63,8 @@ echo "If you haven't built the project, please do so first by running \"mvn clea dependency_plugin_output=/tmp/dep.txt -$MVN dependency:tree -Dincludes=org.scala-lang,:*_2.1*:: ${MAVEN_ARGUMENTS} > "${dependency_plugin_output}" +# run with -T1 because our maven output parsers don't support multi-threaded builds +$MVN dependency:tree -Dincludes=org.scala-lang,:*_2.1*:: ${MAVEN_ARGUMENTS} -T1 > "${dependency_plugin_output}" EXIT_CODE=$? if [ $EXIT_CODE != 0 ]; then