WorldSystem/.gitlab-ci.yml

25 lines
300 B
YAML
Raw Normal View History

2024-05-26 01:52:24 +02:00
image: maven:3-eclipse-temurin-21-alpine
2024-05-23 00:19:58 +02:00
stages:
- build
- test
- deploy
build:
stage: build
script:
2024-05-26 02:17:23 +02:00
- mvn install -B
2024-05-23 00:19:58 +02:00
test:
2024-05-26 01:53:14 +02:00
stage: test
2024-05-23 00:19:58 +02:00
script:
2024-05-26 02:17:23 +02:00
- mvn test
2024-05-26 02:21:58 +02:00
package:
stage: deploy
2024-05-26 02:17:23 +02:00
script:
- mvn package
artifacts:
paths:
- target/*.jar
expire_in: 1 week