Skip to content

Commit

Permalink
Misc] Re-enable SonarQube for Rendering 14.10.x as building with java…
Browse files Browse the repository at this point in the history
… 17 is now supported for the 14.10.x branch
  • Loading branch information
vmassol committed Nov 16, 2023
1 parent f8ab461 commit 7525c13
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,13 @@ def builds = [
// which cover code in other modules)
build(
name: 'Quality',
// We don't run sonar and push to sonarcloud since it requires Java 17 since the 15th of November and that
// would force us to make the 14.10.x branch build with Java 17 which is not easy to do. This will autofix
// itself when the next LTS is 15.10.x.
goals: 'clean install jacoco:report',
goals: 'clean install jacoco:report sonar:sonar',
profiles: 'quality,legacy,coverage',
properties: '-Dxwiki.jacoco.itDestFile=`pwd`/target/jacoco-it.exec'
properties: '-Dxwiki.jacoco.itDestFile=`pwd`/target/jacoco-it.exec',
// Build with Java 17 since SonarCloud now requires it ("Starting from the 15th of November 2023,
// SonarCloud will no longer accept scans executed using Java 11"). To be removed once we build commons on
// Java 17.
javaTool: 'java17'
)
}
]
Expand Down

0 comments on commit 7525c13

Please sign in to comment.