Sonar branch analysis: calculate and show coverage
up vote
1
down vote
favorite
We are using the new branch analysis feature with sonar 6.7.5:
./gradlew -Dsonar.branch.name=$branchName clean build sonarqube
For coverage analysis we use:
apply plugin: 'jacoco'
The problem is that the issues of the branches are shown but not the coverage of the branch. So if we merge into master we never know if the coverage is high enough to pass the quality gate. Is there a possibility to show the coverage for a specific branch?
In the sonarqube project dashboard the coverage of the master branch is shown just fine.
sonarqube
add a comment |
up vote
1
down vote
favorite
We are using the new branch analysis feature with sonar 6.7.5:
./gradlew -Dsonar.branch.name=$branchName clean build sonarqube
For coverage analysis we use:
apply plugin: 'jacoco'
The problem is that the issues of the branches are shown but not the coverage of the branch. So if we merge into master we never know if the coverage is high enough to pass the quality gate. Is there a possibility to show the coverage for a specific branch?
In the sonarqube project dashboard the coverage of the master branch is shown just fine.
sonarqube
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
We are using the new branch analysis feature with sonar 6.7.5:
./gradlew -Dsonar.branch.name=$branchName clean build sonarqube
For coverage analysis we use:
apply plugin: 'jacoco'
The problem is that the issues of the branches are shown but not the coverage of the branch. So if we merge into master we never know if the coverage is high enough to pass the quality gate. Is there a possibility to show the coverage for a specific branch?
In the sonarqube project dashboard the coverage of the master branch is shown just fine.
sonarqube
We are using the new branch analysis feature with sonar 6.7.5:
./gradlew -Dsonar.branch.name=$branchName clean build sonarqube
For coverage analysis we use:
apply plugin: 'jacoco'
The problem is that the issues of the branches are shown but not the coverage of the branch. So if we merge into master we never know if the coverage is high enough to pass the quality gate. Is there a possibility to show the coverage for a specific branch?
In the sonarqube project dashboard the coverage of the master branch is shown just fine.
sonarqube
sonarqube
asked 21 hours ago
golfNintyNine
5718
5718
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53407055%2fsonar-branch-analysis-calculate-and-show-coverage%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown