diff options
author | Jeremy Davis <jeremy.davis@sonarsource.com> | 2022-02-16 16:55:01 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-02-17 20:03:22 +0000 |
commit | e437b761dba11a7c306b94ae17ada1b41cf13c28 (patch) | |
tree | 126740c91c1c69607ed91c3265c962fbbdec4bda | |
parent | 657c45de3c9f53dc1dd9f9adb1f6c9904d450f9a (diff) | |
download | sonarqube-e437b761dba11a7c306b94ae17ada1b41cf13c28.tar.gz sonarqube-e437b761dba11a7c306b94ae17ada1b41cf13c28.zip |
[NO JIRA] Analyse SonarQube on NEXT
-rwxr-xr-x | .travis/run_iris.sh | 4 | ||||
-rwxr-xr-x | travis.sh | 12 |
2 files changed, 7 insertions, 9 deletions
diff --git a/.travis/run_iris.sh b/.travis/run_iris.sh index 14c6c81040a..29b5a58fcb3 100755 --- a/.travis/run_iris.sh +++ b/.travis/run_iris.sh @@ -23,7 +23,7 @@ java \ -Diris.source.url=https://next.sonarqube.com/sonarqube \ -Diris.source.token=$NEXT_TOKEN \ -Diris.destination.projectKey=org.sonarsource.sonarqube:sonarqube \ - -Diris.destination.url=$SONAR_HOST_URL \ - -Diris.destination.token=$SONAR_TOKEN \ + -Diris.destination.url=https://next.sonarqube.com/sonarqube \ + -Diris.destination.token=$NEXT_TOKEN \ -Diris.maxcountposts=50 \ -jar iris-\[RELEASE\]-jar-with-dependencies.jar diff --git a/travis.sh b/travis.sh index 676ee886aa6..6e7cbdca7fb 100755 --- a/travis.sh +++ b/travis.sh @@ -37,19 +37,17 @@ git fetch --unshallow # the '-' at the end is needed when using set -u (the 'nounset' flag) # see https://stackoverflow.com/a/9824943/641955 -if [[ -n "${SONAR_TOKEN-}" ]]; then +if [[ -n "${NEXT_TOKEN-}" ]]; then if [[ "${TRAVIS_BRANCH}" == "master" ]]; then ./gradlew jacocoTestReport :server:sonar-web:yarn_validate-ci sonarqube --info --no-daemon --console plain \ -Dsonar.projectKey=org.sonarsource.sonarqube:sonarqube \ - -Dsonar.organization=sonarsource \ - -Dsonar.host.url=https://sonarcloud.io \ - -Dsonar.login="$SONAR_TOKEN" + -Dsonar.host.url=https://next.sonarqube.com/sonarqube \ + -Dsonar.login="$NEXT_TOKEN" else ./gradlew jacocoTestReport :server:sonar-web:yarn_validate-ci sonarqube --info --no-daemon --console plain \ -Dsonar.projectKey=org.sonarsource.sonarqube:sonarqube \ - -Dsonar.organization=sonarsource \ - -Dsonar.host.url=https://sonarcloud.io \ - -Dsonar.login="$SONAR_TOKEN" \ + -Dsonar.host.url=https://next.sonarqube.com/sonarqube \ + -Dsonar.login="$NEXT_TOKEN" \ -Dsonar.branch.name="$TRAVIS_BRANCH" fi |