Skip to content

Commit a5576ee

Browse files
rnveachromani
authored andcommitted
config: adds no transfer to scripts
1 parent d969b2c commit a5576ee

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.ci/ci.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -euo pipefail
55
case "$1" in
66

77
install)
8-
mvn -e clean install
8+
mvn -e --no-transfer-progress clean install
99
;;
1010

1111
integration-tests)
@@ -17,11 +17,11 @@ integration-tests)
1717
fi
1818
mkdir -p target/temp-downloads
1919
cp ~/.m2/sonar-application-$SONAR_APP_VERSION.zip target/temp-downloads/
20-
mvn -e integration-test -DskipITs=false
20+
mvn -e --no-transfer-progress integration-test -DskipITs=false
2121
;;
2222

2323
nondex)
24-
mvn --fail-never clean nondex:nondex -Dcheckstyle.ant.skip=true
24+
mvn -e --no-transfer-progress --fail-never clean nondex:nondex -Dcheckstyle.ant.skip=true
2525
cat `grep -RlE 'td class=.x' .nondex/ | cat` < /dev/null > output.txt
2626
RESULT="$(cat output.txt | wc -c)"
2727
cat output.txt

.ci/wercker.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ sonarqube)
3232
fi
3333
if [[ -z $SONAR_TOKEN ]]; then echo "SONAR_TOKEN is not set"; sleep 5s; exit 1; fi
3434
export MAVEN_OPTS='-Xmx2000m'
35-
mvn -e -Psonarqube-validations clean package jacoco:report sonar:sonar $SONAR_PR_VARIABLES \
35+
mvn -e --no-transfer-progress -Psonarqube-validations clean package jacoco:report sonar:sonar \
36+
$SONAR_PR_VARIABLES \
3637
-Dsonar.host.url=https://sonarcloud.io \
3738
-Dsonar.login=$SONAR_TOKEN \
3839
-Dsonar.projectKey=checkstyle_sonar-checkstyle \

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66

77
steps:
88
- checkout
9-
- run: mvn package -Pno-validations
9+
- run: mvn -e --no-transfer-progress package -Pno-validations
1010
- persist_to_workspace:
1111
root: /home/circleci
1212
paths:
@@ -45,7 +45,7 @@ jobs:
4545
# Note that we cannot separate "start SonarQube web server" above from
4646
# this step, as we would kill web server when step is complete.
4747
cd /root/project
48-
mvn sonar:sonar -Dsonar.login=admin -Dsonar.password=admin
48+
mvn -e --no-transfer-progress sonar:sonar -Dsonar.login=admin -Dsonar.password=admin
4949
- store_artifacts:
5050
path: /root/project/target/sonar/checkstyle-result.xml
5151
- run:

0 commit comments

Comments
 (0)