23 lines
504 B
YAML
23 lines
504 B
YAML
matrix:
|
|
MODULE:
|
|
- bot
|
|
|
|
when:
|
|
event: [tag, push, manual]
|
|
|
|
variables:
|
|
- &image 'docker.io/maven:3.9-eclipse-temurin-23-alpine'
|
|
|
|
steps:
|
|
compile:
|
|
image: *image
|
|
commands:
|
|
- mvn --batch-mode --no-transfer-progress -pl ${MODULE} -am compile
|
|
test:
|
|
image: *image
|
|
commands:
|
|
- mvn --batch-mode --no-transfer-progress -pl ${MODULE} -am test
|
|
build:
|
|
image: *image
|
|
commands:
|
|
- mvn --batch-mode --no-transfer-progress -Dmaven.test.skip -pl ${MODULE} -am install
|