actions-marketplace-validations/SonarQube Scanner Action
Static Analysis using SonarQube
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| projectName | Sonar Project name | yes | — |
| projectKey | Sonar Project Key | yes | — |
| baseDir | Project Base Directory | no | — |
| token | Sonar Login Token | yes | — |
| url | Sonar Server url | yes | — |
| scmProvider | SCM provider | no | git |
| sourceEncoding | Encoding of the source files | no | UTF-8 |
| enablePullRequestDecoration | Decorate a pull request. PR, branch and base are extracted from the pull request event | no | — |
| onlyConfig | Generate sonar configuration, scanner will not be invoked. Sonar parameters are available as output | no | false |
| isCommunityEdition | Flags if your SonarQube instance is Community edition. Skips setting PRs/branches and defaults to master | no | false |
| runQualityGate | Run the quality gate associated to this repo in SonarQube | no | — |
| qualityGateTimeout | Number of seconds until build is failed for not passing quailty gate. Defaulted to 300 by SonarQube | no | — |
| organization | Organization in case of using sonarcloud | no | — |
Outputs
| name | description |
|---|---|
| sonarParameters | Sonar parameters generate based on input. |