= Sonar 7 The following templates provide integrations for Sonar More Details can be found here: https://www.exxcellent.de/confluence/x/RIWCC[Confluence: Sonar Plugin Setup]. .Variables |=== |Name |Description | Default Value |SONAR_HOST_URL | The Url for the Sonar server | http://sonar7.exxcellent.de/sonar7 |SONAR_TOKEN | The Sonar token to call protected sonar funtkions | "" |SONAR_PROJECT_KEY | The Sonar-Projekt-Key of your Project. | "" |SONAR_PROJECT_NAME | The Sonar-Projekt-Name. | "" (If you set project.name in maven the POM value will be used if this is empty) |SONAR_EXCLUSIONS | Paths that will not be scanned by Sonar | **/target/**,**/src/test/** |=== TIP: Der SONAR_TOKEN String kann über den persönlichen User Bereich in Sonar unter dem Tab _Security_ erzeugt werden. Ein technischer User ist aktuell nicht möglich. Das Token wird ausschließlich dafür benötigt, wenn der Sonar Buildbreaker über die Pipeline aktiviert wird (_sonar.buildbreaker.skip=true_). Wenn der Build nicht gebrochen werden soll, kann es weggelassen werden. :template: static-analysis/sonar-7.gitlab-ci.yml include::../../../template-printer.adoc[]