1
0
mirror of https://github.com/mc1arke/sonarqube-community-branch-plugin.git synced 2024-11-28 08:58:55 +02:00

Update version numbers and configuration guidance

Adds the new releases into the version numbers tables, and removes configuration guidance that is no longer possible under Sonarqube 8.1.
This commit is contained in:
Michael Clarke 2020-07-16 23:28:17 +01:00 committed by GitHub
parent 0c31c9fd22
commit 7cf8e36a68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,8 @@ Use the following table to find the correct plugin version for each SonarQube ve
SonarQube Version | Plugin Version
------------------|---------------
7.8 - 8.0 | 1.3.1
8.1 | 1.4.0
7.8 - 8.0 | 1.3.2
7.4 - 7.7 | 1.0.2
# Features
@ -66,30 +67,15 @@ services:
# Configuration
## Global configuration
If you can define the properties globally (e.g. the pull request provider) within your SonarQube instance go to
[/admin/settings?category=pull+request](http://localhost:9000/admin/settings?category=pull+request) and set the
properties as admin.
Set all other properties that you can define globally for all of your projects.
Make sure `sonar.core.serverBaseURL` in SonarQube [/admin/settings](http://localhost:9000/admin/settings) is properly
set in order to for the links in the comment to work.
## Project configuration
Override the global configuration on project level at [/project/settings?category=pull+request&id=PROJECT_KEY](http://localhost:9000/project/settings?category=pull+request&id=PROJECT_KEY) and set project specific
settings here.
# Configuration of Bitbucket Server
Set properties for Bitbucket Server either on Global configuration or Project configuration level as mentioned in the
Configuration section.
Set all other properties that you can define globally for all of your projects.
## How to decorate the PR
In order to decorate your short living branch (hotfixes, features, ...) pull-requests you need to analyze your long
living branches (master, development, release branches) first.
You can configure patterns for long living branches in SonarQube.
In order to decorate your Pull Request's source branch, you need to analyze your target branch first.
### Run analysis of long living branches
### Run analysis of branches
The analysis needs the following setting:
`sonar.branch.name = branch_name (e.g master)`