2023-12-07 23:49:44 +01:00
|
|
|
matrix:
|
|
|
|
MODULE:
|
|
|
|
- bot
|
|
|
|
|
2024-07-11 15:58:11 +02:00
|
|
|
when:
|
|
|
|
event: [tag, push, manual]
|
|
|
|
|
2023-12-07 23:49:44 +01:00
|
|
|
variables:
|
2024-11-29 19:52:51 +01:00
|
|
|
- &image 'docker.io/maven:3.9-eclipse-temurin-23-alpine'
|
2023-12-07 23:49:44 +01:00
|
|
|
|
|
|
|
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
|