aboutsummaryrefslogtreecommitdiffstats
path: root/travis.sh
diff options
context:
space:
mode:
authorJeremy Davis <jeremy.davis@sonarsource.com>2023-03-14 14:58:35 +0100
committersonartech <sonartech@sonarsource.com>2023-03-14 20:03:28 +0000
commitc1325337e923a28c14f0e08d0bb8e6c2393d9582 (patch)
tree457bee38bcd8f26765ff6f3e127858abeaa40d60 /travis.sh
parent536cc8474d94e50ca381874f049424fe10beb953 (diff)
downloadsonarqube-c1325337e923a28c14f0e08d0bb8e6c2393d9582.tar.gz
sonarqube-c1325337e923a28c14f0e08d0bb8e6c2393d9582.zip
[No JIRA] Fix coverage for the design system
Diffstat (limited to 'travis.sh')
-rwxr-xr-xtravis.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/travis.sh b/travis.sh
index 3af1a97ebd8..b0e92385f90 100755
--- a/travis.sh
+++ b/travis.sh
@@ -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 --console plain \
+ ./gradlew jacocoTestReport yarn_validate-ci sonarqube --info --console plain \
"${sonar_params[@]}" \
-Dsonar.analysis.prNumber="$PULL_REQUEST_NUMBER" \
-Dsonar.pullrequest.branch="$GIT_BRANCH" \
@@ -73,12 +73,12 @@ if [[ -n "${NEXT_TOKEN-}" ]]; then
-Dsonar.pullrequest.key="$PULL_REQUEST_NUMBER"
elif [ "${TRAVIS_BRANCH}" == "master" ]; then
echo '======= Analyze master'
- ./gradlew jacocoTestReport :server:sonar-web:yarn_validate-ci sonarqube --info --console plain \
+ ./gradlew jacocoTestReport 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 --console plain \
+ ./gradlew jacocoTestReport yarn_validate-ci sonarqube --info --console plain \
"${sonar_params[@]}" \
-Dsonar.branch.name="$GIT_BRANCH" \
-Dsonar.projectVersion="$INITIAL_VERSION"