Skip to content
This repository has been archived by the owner on Oct 3, 2021. It is now read-only.

Commit

Permalink
Update version numbers and configuration guidance
Browse files Browse the repository at this point in the history
Adds the new releases into the version numbers tables, and removes configuration guidance that is no longer possible under Sonarqube 8.1.
  • Loading branch information
mc1arke authored Jul 16, 2020
1 parent 0c31c9f commit 7cf8e36
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)`
Expand Down

0 comments on commit 7cf8e36

Please sign in to comment.