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

Commit

Permalink
Document required permissions for authenticated analyses (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandro Heinzelmann committed Feb 17, 2020
1 parent def09f7 commit 3a71f12
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,16 @@ Gallio skipped will be marked "broken".
| `sonar.buildbreaker.forbiddenConf` | Comma-separated list of `key=value` pairs that should break the build. | | `sonar.gallio.mode=skip` |
| `sonar.buildbreaker.alternativeServerUrl` | URL to use for web service requests. If unset, uses the `serverUrl` property from `${sonar.working.directory}/report-task.txt`. | | |

### Authentication

If your SonarQube instance does not allow anonymous analyses, i.e. you're passing `sonar.login` to your analysis command,
you must make sure that the analysis user has one of the following permissions on the project:
* 'Administer System'
* or 'Administer' on the specified project
* or 'Browse' on the specified project

This is required so the plugin can call the `api/qualitygates/project_status` web service.

## Contributing

When reporting issues, please include complete steps to reproduce the issue and all relevant logs.
Expand Down

0 comments on commit 3a71f12

Please sign in to comment.