fix build spec

This commit is contained in:
Manuel Friedli 2023-03-31 10:47:33 +02:00 committed by Gitea
parent c5e2ea0b9e
commit 21585aeed0

View file

@ -2,10 +2,18 @@ kind: pipeline
type: docker
name: default
steps:
- name: test
- name: build
image: maven:3.8-openjdk-18-slim
commands:
- mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
when:
branch:
include:
- master
- feature/*
- name: test
image: maven:3.8-openjdk-18-slim
commands:
- mvn test -B
when:
branch: