Sign inSign up

odairpedro/sonarci-cli

By odairpedro

•Updated over 4 years ago

A simple CLI to help you integrate Sonar with CI pipelines

Image
1

3.2K

odairpedro/sonarci-cli repository overview

A simple CLI to help you integrate Sonar inspections with CI pipelines.

⁠How to use

Just run something like the following command:

docker run odairpedro/sonarci-cli -- [command]

or the following command for detailed help and usage:

docker run odairpedro/sonarci-cli -- --help
⁠Example
docker run -e SONARCI_DECORATION_TYPE="azrepos" \
-e SONARCI_DECORATION_PROJECT="MY-ORGANIZATION/MY-TEAM-PROJECT" \
-e SONARCI_DECORATION_REPOSITORY="my-repository-name" \
-e SONARCI_DECORATION_TOKEN="azdevops-personal-access-token" \
odairpedro/sonarci-cli:latest -- -s "https://mysonar.server.com" -o "sonar-token" decorate -r 999 -p "sonar-project-key"

View more on GitHub⁠

Tag summary

Content type

Image

Digest

Size

7.4 MB

Last updated

over 4 years ago

docker pull odairpedro/sonarci-cli