2022-08-25 22:14:48 +02:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- main
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: maven:3-eclipse-temurin-16
|
|
|
|
commands:
|
2023-01-14 22:15:09 +01:00
|
|
|
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
2023-01-14 22:38:55 +01:00
|
|
|
- find
|
2023-01-14 22:27:07 +01:00
|
|
|
- mvn javadoc:javadoc
|
2023-01-14 22:38:55 +01:00
|
|
|
- find
|
2023-01-14 22:27:07 +01:00
|
|
|
- mvn test -B
|
2023-01-14 22:38:55 +01:00
|
|
|
- find
|
2023-01-14 21:49:47 +01:00
|
|
|
|
|
|
|
- name: code-analysis
|
2023-01-14 23:13:56 +01:00
|
|
|
image: maven:3-eclipse-temurin-16
|
|
|
|
commands:
|
2023-01-14 23:15:20 +01:00
|
|
|
- mvn sonar:sonar -Dsonar.projectKey=$$SONAR_PROJECT_KEY -Dsonar.host.url=$$SONAR_INSTANCE_URL -Dsonar.login=$$SONAR_LOGIN_KEY
|
2023-01-14 23:13:56 +01:00
|
|
|
secrets: [sonar_project_key, sonar_instance_url, sonar_login_key]
|