aboutsummaryrefslogtreecommitdiffstats
path: root/travis.sh
diff options
context:
space:
mode:
authorSteve Marion <steve.marion@sonarsource.com>2023-11-28 11:26:25 +0100
committersonartech <sonartech@sonarsource.com>2023-11-28 20:02:43 +0000
commit912346cfbdb0333352e4bb0ada86dadcb275c85d (patch)
tree5de13af2fe8d5f3997263311e93caf495f5f9c76 /travis.sh
parent34d70b67a50d90c9b8380898fe645aac19c9c5db (diff)
downloadsonarqube-912346cfbdb0333352e4bb0ada86dadcb275c85d.tar.gz
sonarqube-912346cfbdb0333352e4bb0ada86dadcb275c85d.zip
[NO-JIRA] reduce verbosity of travis output due to exceeded log limit (> 50k) killing the job
Diffstat (limited to 'travis.sh')
-rwxr-xr-xtravis.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/travis.sh b/travis.sh
index 10fba085c88..be566a23702 100755
--- a/travis.sh
+++ b/travis.sh
@@ -65,7 +65,7 @@ if [[ -n "${NEXT_TOKEN-}" ]]; then
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
echo '======= Analyze pull request'
- ./gradlew jacocoTestReport yarn_validate-ci sonarqube --info --console plain \
+ ./gradlew jacocoTestReport yarn_validate-ci sonarqube --warn --console plain \
"${sonar_params[@]}" \
-Dsonar.analysis.prNumber="$PULL_REQUEST_NUMBER" \
-Dsonar.pullrequest.branch="$GIT_BRANCH" \
@@ -73,12 +73,12 @@ if [[ -n "${NEXT_TOKEN-}" ]]; then
-Dsonar.pullrequest.key="$PULL_REQUEST_NUMBER"
elif [ "${TRAVIS_BRANCH}" == "master" ]; then
echo '======= Analyze master'
- ./gradlew jacocoTestReport yarn_validate-ci sonarqube --info --console plain \
+ ./gradlew jacocoTestReport yarn_validate-ci sonarqube --warn --console plain \
"${sonar_params[@]}" \
-Dsonar.projectVersion="$INITIAL_VERSION"
else
echo '======= Analyze branch'
- ./gradlew jacocoTestReport yarn_validate-ci sonarqube --info --console plain \
+ ./gradlew jacocoTestReport yarn_validate-ci sonarqube --warn --console plain \
"${sonar_params[@]}" \
-Dsonar.branch.name="$GIT_BRANCH" \
-Dsonar.projectVersion="$INITIAL_VERSION"