jinguji/SonarCloud Scan with Gradle
Scan your code with SonarCloud to detect bugs, vulnerabilities and code smells in Gradle
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| sonar-token | **Required** this is the token used to authenticate access to SonarCloud. You can generate a token on your [Security page in SonarCloud](https://sonarcloud.io/account/security/). You can set the `SONAR_TOKEN` environment variable in the "Secrets" settings page of your repository. | yes | — |
| sonar-host-url | SonarCloud endpoint. (default: `https://sonarcloud.io`) | no | https://sonarcloud.io |
| sonar-organization | SonarCloud organization key. (default: <*repository owner*>) | no | ${{ github.repository_owner }} |
| sonar-project-key | The key generated when setting up the project on SonarCloud. (default: <*repository owner*>_<*repository name*>) | no | — |
| gradle-cli-opts | Gradle command line options. (default: blank) | no | — |
| gradle-before-tasks | Task name to be executed before `sonarcube` task. (default: blank) | no | — |
| gradle-after-tasks | Task name to be executed after `sonarcube` task. (default: blank) | no | — |
Outputs
no outputs