Update .drone.yml
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Bea 2023-01-15 21:07:41 +01:00
parent 21a5e07b3e
commit 944b4cf905

View File

@ -17,19 +17,12 @@ steps:
- name: test - name: test
image: maven:3-eclipse-temurin-16 image: maven:3-eclipse-temurin-16
commands: commands:
- mvn test -B - mvn test --no-transfer-progress -B
- name: code-analysis - name: code-analysis
image: maven:3-eclipse-temurin-16 image: maven:3-eclipse-temurin-16
commands: commands:
- mvn sonar:sonar --no-transfer-progress -Dsonar.projectKey=${SONAR_PROJECT_KEY} -Dsonar.host.url=${SONAR_INSTANCE_URL} -Dsonar.login=${SONAR_LOGIN_KEY} - mvn sonar:sonar --no-transfer-progress -Dsonar.projectKey=${SONAR_PROJECT_KEY} -Dsonar.host.url=${SONAR_INSTANCE_URL} -Dsonar.login=${SONAR_LOGIN_KEY}
environment:
SONAR_PROJECT_KEY:
from_secret: sonar_project_key
SONAR_INSTANCE_URL:
from_secret: sonar_instance_url
SONAR_LOGIN_KEY:
from_secret: sonar_login_key
- name: maven-auth - name: maven-auth
image: robertstettner/drone-mvn-auth image: robertstettner/drone-mvn-auth