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 type: docker
name: default name: default
steps: steps:
- name: test - name: build
image: maven:3.8-openjdk-18-slim image: maven:3.8-openjdk-18-slim
commands: commands:
- mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V - 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 - mvn test -B
when: when:
branch: branch: