From 7b31bc744a4d341368c09671be79b8c8e1dec6f6 Mon Sep 17 00:00:00 2001 From: Pelayori <31128562+Pelayori@users.noreply.github.com> Date: Sat, 9 Mar 2024 22:40:19 +0100 Subject: [PATCH] Test sonar cloud --- .github/workflows/unit-tests-push.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unit-tests-push.yml b/.github/workflows/unit-tests-push.yml index 82cb36c1..bf511d6b 100644 --- a/.github/workflows/unit-tests-push.yml +++ b/.github/workflows/unit-tests-push.yml @@ -16,7 +16,8 @@ jobs: with: java-version: '17' - name: Analyze with SonarCloud - run: mvnw -B verify sonar:sonar -Dsonar.projectKey=wiq_es04b -Dsonar.organization=Arquisoft -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN + run: chmod +x mvnw + run: ./mvnw -B verify sonar:sonar -Dsonar.projectKey=wiq_es04b -Dsonar.organization=Arquisoft -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file