From fa0a96b35085b439ba6c9448df7afbc3273197af Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sun, 26 Nov 2017 20:28:10 +0100 Subject: [PATCH] change the URL to SonarQube, as wished upstream --- sonar-project.properties | 2 +- tools/internal/travis-sonarqube.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sonar-project.properties b/sonar-project.properties index ab7e01222b..1d43b052a6 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,5 +1,5 @@ # This file is used to scan the project for issues automatically -# Browse the result here: https://sonarqube.com/dashboard?id=simgrid +# Browse the result here: https://sonarcloud.io/dashboard/?id=simgrid sonar.projectKey=simgrid sonar.projectName=SimGrid diff --git a/tools/internal/travis-sonarqube.sh b/tools/internal/travis-sonarqube.sh index 65e549f996..922defa2a8 100755 --- a/tools/internal/travis-sonarqube.sh +++ b/tools/internal/travis-sonarqube.sh @@ -21,7 +21,7 @@ installSonarQubeScanner() { export SONAR_SCANNER_OPTS="-server" } installBuildWrapper() { - curl -LsS https://sonarqube.com/static/cpp/build-wrapper-linux-x86.zip > build-wrapper-linux-x86.zip + curl -LsS https://sonarcloud.io/static/cpp/build-wrapper-linux-x86.zip > build-wrapper-linux-x86.zip unzip build-wrapper-linux-x86.zip } installSonarQubeScanner @@ -49,7 +49,7 @@ ctest -D ExperimentalCoverage # See https://docs.travis-ci.com/user/sonarqube/ for more info on tokens # don't show the token in the logs set +x -sonar-scanner -Dsonar.host.url=https://sonarqube.com -Dsonar.login=$SONAR_TOKEN 2>&1 \ +sonar-scanner -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN 2>&1 \ | grep -v 'INFO: Parsing /home/travis/build/simgrid/simgrid/Testing/CoverageInfo' \ | grep -v 'WARN: File not analysed by Sonar, so ignoring coverage: /usr/include/' -- 2.20.1