travis: Read project/organization for SonarCloud from environment variable

This commit is contained in:
Tobias Brunner committed 2020-09-09 13:25:30 +02:00
1 parent 76425800c4
commit fd5cf31108
2 files changed
+7 -4

No files matched your search

+2 -1
View File
@@ -448,7 +448,8 @@ apidoc)
;;
sonarcloud)
sonar-scanner \
-Dsonar.projectKey=strongswan \
-Dsonar.projectKey=${SONAR_PROJECT} \
-Dsonar.organization=${SONAR_ORGANIZATION} \
-Dsonar.projectVersion=$(git describe)+${TRAVIS_BUILD_NUMBER} \
-Dsonar.sources=. \
-Dsonar.cfamily.threads=2 \