dchat/.woodpecker/java.yml

26 lines
548 B
YAML

matrix:
MODULE:
- db
- bot
- web
- migration
variables:
- &image 'docker.io/maven:3.9-eclipse-temurin-21'
steps:
compile:
image: *image
group: compile
commands:
- mvn --batch-mode --no-transfer-progress -pl ${MODULE} -am compile
test:
image: *image
group: test
commands:
- mvn --batch-mode --no-transfer-progress -pl ${MODULE} -am test
build:
image: *image
group: build
commands:
- mvn --batch-mode --no-transfer-progress -Dmaven.test.skip -pl ${MODULE} -am install