21 lines
352 B
YAML
21 lines
352 B
YAML
|
---
|
||
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: Tests Coverage
|
||
|
|
||
|
steps:
|
||
|
- name: Run Tests With Coverage
|
||
|
image: maven:3.8-openjdk-17-slim
|
||
|
environment:
|
||
|
SONAR_LOGIN:
|
||
|
from_secret: SONAR_TOKEN
|
||
|
commands:
|
||
|
- mvn clean verify sonar:sonar -s ./settings.xml
|
||
|
trigger:
|
||
|
branch:
|
||
|
include:
|
||
|
- master
|
||
|
trigger:
|
||
|
event:
|
||
|
- push
|