Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| en:modul:m324_aws:topics:11 [2026/01/07 16:44] – dgaravaldi | en:modul:m324_aws:topics:11 [2026/01/10 10:21] (aktuell) – [Getting started] dgaravaldi | ||
|---|---|---|---|
| Zeile 55: | Zeile 55: | ||
| * Hit the button '' | * Hit the button '' | ||
| * Run analysis on your project: '' | * Run analysis on your project: '' | ||
| + | |||
| + | |||
| \\ | \\ | ||
| === Step 4: Download and unzip the scanner === | === Step 4: Download and unzip the scanner === | ||
| * Download the scanner for your platform. | * Download the scanner for your platform. | ||
| + | |||
| + | {{: | ||
| + | {{: | ||
| + | |||
| * Unzip it either in your project directory or in your binary-directory. | * Unzip it either in your project directory or in your binary-directory. | ||
| Example for Linux on AWS EC2 | Example for Linux on AWS EC2 | ||
| Zeile 114: | Zeile 120: | ||
| * Execute the scanner as shown. | * Execute the scanner as shown. | ||
| - | In the example the scanner binaries are stored in the project folder. The path to the scanner is used in a bash script. | ||
| < | < | ||
| Zeile 122: | Zeile 127: | ||
| # | # | ||
| sonar-scanner \ | sonar-scanner \ | ||
| - | -Dsonar.projectKey=trafficlight-app-codecov | + | -Dsonar.projectKey=<YOUR-PROJECT-KEY> |
| - | -Dsonar.sources=src \ | + | -Dsonar.sources=. \ |
| - | -Dsonar.host.url=http:// | + | -Dsonar.host.url=< |
| - | -Dsonar.token=sqp_6ee5a8843fc36e95825131e03f3ae1ec8d89226d | + | -Dsonar.token=< |
| - | -Dproject.settings=sonar-project.properties | + | -Dproject.settings=./sonar-project.properties |
| </ | </ | ||
| * Analyse the generated report in SonarQube | * Analyse the generated report in SonarQube | ||
| - | --- | + | {{: |
| - | Based on this [[https:// | ||
| ---- | ---- | ||
| + | Source: [[https:// | ||
| [[https:// | [[https:// | ||