Trying to fix issue.

This commit is contained in:
aminecmi 2022-07-22 20:54:00 +02:00
parent 8b1fc775aa
commit 44ef9cba7d

View File

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