forked from phoedos/pmd
[ci] Update sonar, use Java 17
This commit is contained in:
parent
963a9a965c
commit
83522e96ef
@ -133,6 +133,7 @@ function build() {
|
||||
pmd_ci_log_group_end
|
||||
|
||||
pmd_ci_log_group_start "Executing build with sonar"
|
||||
pmd_ci_openjdk_setdefault 17
|
||||
# Note: Sonar also needs GITHUB_TOKEN (!)
|
||||
./mvnw \
|
||||
-Dmaven.javadoc.skip=true \
|
||||
@ -146,6 +147,7 @@ function build() {
|
||||
pmd_ci_log_group_end
|
||||
|
||||
pmd_ci_log_group_start "Executing build with coveralls"
|
||||
pmd_ci_openjdk_setdefault 11
|
||||
export CI_NAME="github actions"
|
||||
export CI_BUILD_URL="${PMD_CI_JOB_URL}"
|
||||
export CI_BRANCH="${PMD_CI_BRANCH}"
|
||||
|
6
pom.xml
6
pom.xml
@ -1146,6 +1146,10 @@
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<!--
|
||||
Configuration: https://docs.sonarsource.com/sonarcloud/advanced-setup/ci-based-analysis/sonarscanner-for-maven/
|
||||
Report is available here: https://sonarcloud.io/dashboard?id=net.sourceforge.pmd%3Apmd
|
||||
-->
|
||||
<id>sonar</id>
|
||||
<properties>
|
||||
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
|
||||
@ -1158,7 +1162,7 @@
|
||||
<plugin>
|
||||
<groupId>org.sonarsource.scanner.maven</groupId>
|
||||
<artifactId>sonar-maven-plugin</artifactId>
|
||||
<version>3.7.0.1746</version>
|
||||
<version>3.10.0.2594</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
|
Loading…
x
Reference in New Issue
Block a user