HidekoBot/.drone.yml
Beatrice DellacĂ  1827777968
Some checks failed
continuous-integration/drone/push Build is failing
Test DroneCI update
2023-01-14 23:15:20 +01:00

23 lines
571 B
YAML

kind: pipeline
name: default
trigger:
branch:
- main
steps:
- name: build
image: maven:3-eclipse-temurin-16
commands:
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- find
- mvn javadoc:javadoc
- find
- mvn test -B
- find
- name: code-analysis
image: maven:3-eclipse-temurin-16
commands:
- mvn sonar:sonar -Dsonar.projectKey=$$SONAR_PROJECT_KEY -Dsonar.host.url=$$SONAR_INSTANCE_URL -Dsonar.login=$$SONAR_LOGIN_KEY
secrets: [sonar_project_key, sonar_instance_url, sonar_login_key]