From 44ef9cba7dc431c9f613e16a1191f29c2de408cf Mon Sep 17 00:00:00 2001 From: aminecmi Date: Fri, 22 Jul 2022 20:54:00 +0200 Subject: [PATCH] Trying to fix issue. --- .drone.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index a19bff0..77fa8f1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,12 +1,6 @@ kind: pipeline type: docker name: default - -environment: - SONAR_HOST_URL: - from_secret: sonarScannerHostUrl - SONAR_LOGIN: - from_secret: sonarScannerLogin steps: - name: test @@ -16,5 +10,10 @@ steps: - mvn test -B - name: analyse image: maven:3-jdk-10 + environment: + SONAR_HOST_URL: + from_secret: sonarScannerHostUrl + SONAR_LOGIN: + from_secret: sonarScannerLogin commands: - mvn clean verify sonar:sonar -Dsonar.projectKey=LDC -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_LOGIN