Update temporary DroneCI configuration
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is failing Details

This commit is contained in:
Bea 2023-01-15 21:18:10 +01:00
parent 9578fcdbc2
commit ecff8ee31b
1 changed files with 4 additions and 24 deletions

View File

@ -8,36 +8,16 @@ trigger:
load: yes
steps:
- name: build
image: maven:3-eclipse-temurin-16
commands:
- mvn package --no-transfer-progress -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- name: test
image: maven:3-eclipse-temurin-16
commands:
- mvn test --no-transfer-progress -B
- name: code-analysis
image: maven:3-eclipse-temurin-16
commands:
- 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
image: robertstettner/drone-mvn-auth
pull: true
servers:
- id: nexus
username: ${NEXUS_USERNAME}
password: ${NEXUS_PASSWORD}
username:
from_secret: nexus_username
password:
from_secret: nexus_password
profiles:
- id: default
repositories: