From: shisheng-1 <85237617+shisheng-1@users.noreply.github.com> Date: Sat, 30 Apr 2022 16:44:29 +0000 (+0800) Subject: NO-JIRA remove --no-daemon from travis X-Git-Tag: 9.5.0.56709~177 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=725e0a5de61978d9452f1cf4779e93239452e8af;p=sonarqube.git NO-JIRA remove --no-daemon from travis --- diff --git a/travis.sh b/travis.sh index 7d81f6f57ac..a0fff3b6b5c 100755 --- a/travis.sh +++ b/travis.sh @@ -51,7 +51,7 @@ git fetch --unshallow || true BUILD_START_DATETIME=$(date --utc +%FT%TZ) echo "$BUILD_START_DATETIME" > /tmp/build_start_time -./gradlew build --no-daemon --console plain +./gradlew build --console plain # exclude external pull requests if [[ -n "${NEXT_TOKEN-}" ]]; then @@ -65,7 +65,7 @@ if [[ -n "${NEXT_TOKEN-}" ]]; then if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then echo '======= Analyze pull request' - ./gradlew jacocoTestReport :server:sonar-web:yarn_validate-ci sonarqube --info --no-daemon --console plain \ + ./gradlew jacocoTestReport :server:sonar-web:yarn_validate-ci sonarqube --info --console plain \ "${sonar_params[@]}" \ -Dsonar.analysis.prNumber="$PULL_REQUEST_NUMBER" \ -Dsonar.pullrequest.branch="$GIT_BRANCH" \ @@ -75,12 +75,12 @@ if [[ -n "${NEXT_TOKEN-}" ]]; then -Dsonar.pullrequest.github.repository="$TRAVIS_REPO_SLUG" elif [ "${TRAVIS_BRANCH}" == "master" ]; then echo '======= Analyze master' - ./gradlew jacocoTestReport :server:sonar-web:yarn_validate-ci sonarqube --info --no-daemon --console plain \ + ./gradlew jacocoTestReport :server:sonar-web:yarn_validate-ci sonarqube --info --console plain \ "${sonar_params[@]}" \ -Dsonar.projectVersion="$INITIAL_VERSION" else echo '======= Analyze branch' - ./gradlew jacocoTestReport :server:sonar-web:yarn_validate-ci sonarqube --info --no-daemon --console plain \ + ./gradlew jacocoTestReport :server:sonar-web:yarn_validate-ci sonarqube --info --console plain \ "${sonar_params[@]}" \ -Dsonar.branch.name="$GIT_BRANCH" \ -Dsonar.projectVersion="$INITIAL_VERSION"