This is an automated email from the ASF dual-hosted git repository.
szetszwo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis.git
The following commit(s) were added to refs/heads/master by this push:
new 01b386b8e RATIS-1959. Omit download progress in CI builds (#982)
01b386b8e is described below
commit 01b386b8e5ef8baca525e80b6abb768586955180
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Sun Dec 10 01:33:45 2023 +0100
RATIS-1959. Omit download progress in CI builds (#982)
---
dev-support/checks/build.sh | 2 +-
dev-support/checks/checkstyle.sh | 2 +-
dev-support/checks/findbugs.sh | 2 +-
dev-support/checks/rat.sh | 2 +-
dev-support/checks/sonar.sh | 4 +++-
dev-support/checks/unit.sh | 2 +-
6 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/dev-support/checks/build.sh b/dev-support/checks/build.sh
index 4d7090aff..4a71ba6a2 100755
--- a/dev-support/checks/build.sh
+++ b/dev-support/checks/build.sh
@@ -19,5 +19,5 @@ cd "$DIR/../.." || exit 1
source "${DIR}/../find_maven.sh"
export MAVEN_OPTS="-Xmx4096m"
-${MVN} -V -B -Dmaven.javadoc.skip=true -DskipTests clean install "$@"
+${MVN} -V -B -Dmaven.javadoc.skip=true -DskipTests --no-transfer-progress
clean install "$@"
exit $?
diff --git a/dev-support/checks/checkstyle.sh b/dev-support/checks/checkstyle.sh
index cb06fdaac..a2ee42738 100755
--- a/dev-support/checks/checkstyle.sh
+++ b/dev-support/checks/checkstyle.sh
@@ -23,7 +23,7 @@ REPORT_DIR=${OUTPUT_DIR:-"$DIR/../../target/checkstyle"}
mkdir -p "$REPORT_DIR"
REPORT_FILE="$REPORT_DIR/summary.txt"
-MAVEN_OPTIONS='-B -fae -Dcheckstyle.failOnViolation=false'
+MAVEN_OPTIONS='-B -fae --no-transfer-progress
-Dcheckstyle.failOnViolation=false'
declare -i rc
${MVN} ${MAVEN_OPTIONS} checkstyle:check | tee "${REPORT_DIR}/output.log"
diff --git a/dev-support/checks/findbugs.sh b/dev-support/checks/findbugs.sh
index c1723f437..b6e51dbfc 100755
--- a/dev-support/checks/findbugs.sh
+++ b/dev-support/checks/findbugs.sh
@@ -18,7 +18,7 @@ cd "$DIR/../.." || exit 1
source "${DIR}/../find_maven.sh"
-MAVEN_OPTIONS='-B -fae'
+MAVEN_OPTIONS='-B -fae --no-transfer-progress'
if ! type unionBugs >/dev/null 2>&1 || ! type convertXmlToText >/dev/null
2>&1; then
#shellcheck disable=SC2086
diff --git a/dev-support/checks/rat.sh b/dev-support/checks/rat.sh
index 9b55878ef..34d8a2585 100755
--- a/dev-support/checks/rat.sh
+++ b/dev-support/checks/rat.sh
@@ -23,7 +23,7 @@ mkdir -p "$REPORT_DIR"
REPORT_FILE="$REPORT_DIR/summary.txt"
-${MVN} -B -fn org.apache.rat:apache-rat-plugin:0.13:check
+${MVN} -B -fn --no-transfer-progress
org.apache.rat:apache-rat-plugin:0.13:check
cd "$DIR/../.." || exit 1
diff --git a/dev-support/checks/sonar.sh b/dev-support/checks/sonar.sh
index d78c8875f..59782a09a 100755
--- a/dev-support/checks/sonar.sh
+++ b/dev-support/checks/sonar.sh
@@ -23,4 +23,6 @@ if [ ! "$SONAR_TOKEN" ]; then
exit 1
fi
-${MVN} -B verify -DskipShade -DskipTests
org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar
-Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache
-Dsonar.projectKey=apache-ratis
+${MVN} -B verify -DskipShade -DskipTests --no-transfer-progress \
+ org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar \
+ -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache
-Dsonar.projectKey=apache-ratis
diff --git a/dev-support/checks/unit.sh b/dev-support/checks/unit.sh
index 69edde287..0f16f5501 100755
--- a/dev-support/checks/unit.sh
+++ b/dev-support/checks/unit.sh
@@ -41,7 +41,7 @@ for i in $(seq 1 ${ITERATIONS}); do
mkdir -p "${REPORT_DIR}"
fi
- ${MVN} -B -fae test "$@" \
+ ${MVN} -B -fae --no-transfer-progress test "$@" \
| tee "${REPORT_DIR}/output.log"
irc=$?