update makefile run-code-quality-analysis command: use current branch and envvars

This commit is contained in:
Simon Vieille
2022-12-04 20:23:48 +01:00
parent 8a8d8f2910
commit a7ab4573c5
+1 -1
View File
@@ -34,4 +34,4 @@ translations:
.ONESHELL:
run-code-quality-analysis:
export SONAR_TOKEN="$$SONAR_TOKEN_DEBLAN_SIDE_MENU"
sonar-scanner -Dsonar.projectKey=deblan-side_menu -Dsonar.sources=. -Dsonar.host.url=https://cq.gitnet.fr
sonar-scanner -Dsonar.projectKey=deblan-side_menu -Dsonar.sources=. -Dsonar.host.url=$$SONAR_SERVER -Dsonar.branch.name=$$(git branch --show-current)