Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Evgeny Mandrikov
asm
Commits
c90dd56f
Commit
c90dd56f
authored
Dec 22, 2020
by
Eric Bruneton
Browse files
Fix SonarQube coverage reports.
parent
e1ed681a
Pipeline
#10432
passed with stage
in 8 minutes and 7 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
c90dd56f
...
...
@@ -18,4 +18,4 @@ build:
-
$GRADLE test jacocoTestCoverageVerification
-
if [ $NEXUS_USER_NAME ]; then $GRADLE publish; fi
-
if [ !$NEXUS_USER_NAME ]; then $GRADLE publishToMavenLocal; fi
-
'
$GRADLE
sonarqube
-Dsonar.host.url=$SONAR'
-
'
$GRADLE
jacocoTestReport
sonarqube
-Dsonar.host.url=$SONAR'
build.gradle
View file @
c90dd56f
...
...
@@ -210,6 +210,7 @@ subprojects {
configure
(
subprojects
.
findAll
{
it
.
provides
})
{
// Code coverage configuration.
jacocoTestReport
{
reports
{
xml
.
enabled
true
}
classDirectories
.
setFrom
(
sourceSets
.
main
.
output
.
classesDirs
)
}
jacocoTestCoverageVerification
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment