diff options
author | shisheng-1 <85237617+shisheng-1@users.noreply.github.com> | 2022-05-01 00:44:29 +0800 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-05-05 20:02:57 +0000 |
commit | 725e0a5de61978d9452f1cf4779e93239452e8af (patch) | |
tree | 740394085f393266781a18d5b1629342bdf09b9c /travis.sh | |
parent | e97b716f283471f2f3335843861b520cdc772fba (diff) | |
download | sonarqube-725e0a5de61978d9452f1cf4779e93239452e8af.tar.gz sonarqube-725e0a5de61978d9452f1cf4779e93239452e8af.zip |
NO-JIRA remove --no-daemon from travis
Diffstat (limited to 'travis.sh')
-rwxr-xr-x | travis.sh | 8 |
1 files changed, 4 insertions, 4 deletions
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" |