Skip to content

Commit

Permalink
Add sonar example
Browse files Browse the repository at this point in the history
  • Loading branch information
G43riko committed Oct 11, 2024
1 parent 9f5548a commit 734627b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,23 @@

[Documentation](https://g43riko.github.io/GTools/)


## Scan docker
```bash
docker run \
--rm \
-e SONAR_SCANNER_OPTS="-Dsonar.projectKey=G43riko_GTools" \
-e SONAR_SCANNER_OPTS="-Dsonar.organization=g43riko" \
-e SONAR_SCANNER_OPTS="-Dsonar.javascript.lcov.reportPaths=coverage/lcov.info" \
-e SONAR_TOKEN=35e611231b768d371f22e880a31bbada5f9359d3 \
-v ".:/usr/src" \
sonarsource/sonar-scanner-cli
```

## Contents

- [GTools](#gtools)
- [Scan docker](#scan-docker)
- [Contents](#contents)
- [Installation](#installation)
- [NodeJS](#nodejs)
Expand Down

0 comments on commit 734627b

Please sign in to comment.