Integrate with SonarQube

This commit is contained in:
Winni Neessen 2022-04-12 15:51:18 +02:00
parent 24993e17d4
commit 3351e158a8
Signed by: wneessen
GPG key ID: 5F3AF39B820C119D
2 changed files with 10 additions and 0 deletions

3
.gitignore vendored
View file

@ -13,3 +13,6 @@
# Dependency directories (remove the comment below to include it)
# vendor/
# SonarQube
.scannerwork/

7
sonar-scan Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
source ./.sonar
${SONAR_BIN} \
-Dsonar.projectKey=go-mail \
-Dsonar.sources=. \
-Dsonar.host.url=https://sonar.fritz.box \
-Dsonar.login="$SONAR_TOKEN"