From cdadf94b9d952ec43712f98a13e4256dd31e7ae7 Mon Sep 17 00:00:00 2001 From: Filip Pospisil Date: Tue, 23 Jul 2024 10:28:19 +0200 Subject: [PATCH] Configure Sonar deployment from CI --- .github/workflows/deploy.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 60fb7fd..30c4b94 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -46,4 +46,5 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=camel-tooling_camel-lsp-client-netbeans -f client/pom.xml + run: mvn clean verify sonar:sonar -Dsonar.token=${SONAR_TOKEN} -Dsonar.organization=camel-tooling -Dsonar.projectKey=camel-tooling_camel-lsp-client-netbeans -Dsonar.host.url=https://sonarcloud.io -f client/pom.xml + \ No newline at end of file