lowcostcustoms/Sonar-Scanner action
-| Runs sonar-scanner, submits analysis results and retrieves the quality gate status if needed.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| image | -| The name of an image containing sonar-scanner cli. | no | sonarsource/sonar-scanner-cli:latest |
| wait-for-quality-gate | -| Specifies whether the SonarQube task status should be retrieved after the analysis is finished. By default it's "true" which means that the action will fail if task finishes with non-success status or doesn't finish in time. However you can set this value to "false" to disable such a behavior. | no | true |
| quality-gate-wait-timeout | -| Specifies the maximum amount of time - a non-negative number followed by one of the suffixes "m", "s" or "h", which is considered maximum amount of time during after which an unfinished SonarQube task is considered failed. | no | 2m |
| sonar-host-url | -| The url by which the SonarQube server is accessible. | no | "" |
| sonar-host-cert | -| The PEM-encoded sonar host certificate if any. | no | "" |
| project-file-location | -| Sonar-Scanner project file location, relative to the sources-location variable. By default this value is empty. | no | "" |
| sources-mount-point | -| The place where directory with the project sources will be mounted in a sonar-scanner docker container. By default the project sources you specified in the sources-location input are mounted into the /app/ dir. | no | /app |
| sources-location | -| The place where the project sources are located. By default this input points to the current github workspace root. | no | ${{ github.workspace }} |
| log-level | -| Determines the verbosity of the actoion output. Should be one of debug, info, warning or error. | no | info |
| tls-skip-verify | -| If true skips sonar host TLS certificate verification. | no | false |
| sonar-login | -| An authentication token or SonarQube user login. | no | "" |
| sonar-password | -| The password for the account associated with the `sonar-login`. | no | "" |
Outputs
no outputs