[ci] Update sonar call

sonar.login is deprecated, use sonar.token
This commit is contained in:
Andreas Dangel 2024-03-09 10:20:53 +01:00
parent 81a24f6f8f
commit f758571ca7
No known key found for this signature in database
GPG Key ID: 93450DF2DF9A3FA3

View File

@ -140,7 +140,7 @@ function build() {
./mvnw \
--show-version --errors --batch-mode \
clean package \
sonar:sonar -Dsonar.login="${SONAR_TOKEN}" -Psonar,fastSkip
sonar:sonar -Dsonar.token="${SONAR_TOKEN}" -Psonar,fastSkip
pmd_ci_log_success "New sonar results: https://sonarcloud.io/dashboard?id=net.sourceforge.pmd%3Apmd"
pmd_ci_log_group_end