From 1b8f85606f135aaf616913282059c9fb9ee7326c Mon Sep 17 00:00:00 2001 From: aminecmi Date: Fri, 22 Jul 2022 21:46:00 +0200 Subject: [PATCH] Variaables. --- .drone.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 76ac149..130d018 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,18 +1,19 @@ kind: pipeline type: docker -environment: - SONAR_HOST_URL: - from_secret: sonarScannerHostUrl - SONAR_LOGIN: - from_secret: sonarScannerLogin - steps: - name: code-analysis image: sonarsource/sonar-scanner-cli + detach: true + failure: ignore commands: - ls -la - sonar-scanner -Dsonar.projectKey=LDC-WWW -Dsonar.sources=. -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_LOGIN + environment: + SONAR_HOST_URL: + from_secret: sonarScannerHostUrl + SONAR_LOGIN: + from_secret: sonarScannerLogin - name: build