From 4124ea52074c75368e33885bbf1206f8d0685d63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Sat, 14 Jan 2023 23:18:26 +0100 Subject: [PATCH] Test DroneCI update --- .drone.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index d65a84c..3646489 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,5 +19,11 @@ steps: - name: code-analysis 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 + - mvn sonar:sonar -Dsonar.projectKey=$SONAR_PROJECT_KEY -Dsonar.host.url=$SONAR_INSTANCE_URL -Dsonar.login=$SONAR_LOGIN_KEY + environment: + SONAR_PROJECT_KEY: + from_secret: sonar_project_key + SONAR_INSTANCE_URL: + from_secret: sonar_instance_url + SONAR_LOGIN_KEY: + from_secret: sonar_login_key \ No newline at end of file