From 5cb5296be253726e64035ade1bcc57985360a74e Mon Sep 17 00:00:00 2001 From: aminecmi Date: Fri, 22 Jul 2022 21:39:14 +0200 Subject: [PATCH] Testing. --- .drone.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 77fa8f1..00c20f6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,10 +10,12 @@ steps: - mvn test -B - name: analyse image: maven:3-jdk-10 + commands: + - echo $SONAR_HOST_URL + - echo $SONAR_LOGIN + - mvn clean verify sonar:sonar -Dsonar.projectKey=LDC -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_LOGIN 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 + from_secret: sonarScannerLogin \ No newline at end of file