From bdefd613fb9db7d96381bc920f25e95f3add1e37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Sat, 14 Jan 2023 23:13:56 +0100 Subject: [PATCH] Test DroneCI update --- .drone.yml | 11 ++++------- pom.xml | 7 +++++++ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 127a6f6..bdd4f19 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,10 +17,7 @@ steps: - find - name: code-analysis - image: aosapps/drone-sonar-plugin - settings: - sonar_host: - from_secret: sonar_host - sonar_token: - from_secret: sonar_token - usingProperties: true \ No newline at end of file + image: maven:3-eclipse-temurin-16 + commands: + - mvn sonar:sonar -Dsonar.projectKey=$SONAR_PROJECT_KEY -Dsonar.host.url=$SONAR_INSTANCE_URL -Dsonar.login=$SONAR_LOGIN_KEY + secrets: [sonar_project_key, sonar_instance_url, sonar_login_key] \ No newline at end of file diff --git a/pom.xml b/pom.xml index 6a68383..9dd6e31 100644 --- a/pom.xml +++ b/pom.xml @@ -97,6 +97,13 @@ 3.4.1 + + + org.sonarsource.scanner.maven + sonar-maven-plugin + 3.9.1.2184 + +