mirror of
https://github.com/trainerlord/WorldSystem.git
synced 2024-11-29 12:55:11 +01:00
25 lines
300 B
YAML
25 lines
300 B
YAML
image: maven:3-eclipse-temurin-21-alpine
|
|
|
|
stages:
|
|
- build
|
|
- test
|
|
- deploy
|
|
|
|
build:
|
|
stage: build
|
|
script:
|
|
- mvn install -B
|
|
|
|
test:
|
|
stage: test
|
|
script:
|
|
- mvn test
|
|
|
|
package:
|
|
stage: deploy
|
|
script:
|
|
- mvn package
|
|
artifacts:
|
|
paths:
|
|
- target/*.jar
|
|
expire_in: 1 week |