This commit is contained in:
aminecmi 2022-07-22 21:39:14 +02:00
parent 44ef9cba7d
commit 5cb5296be2

View File

@ -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