mirror of
https://github.com/CarmJos/TimeForFlight.git
synced 2024-09-19 20:15:45 +00:00
23 lines
270 B
YAML
23 lines
270 B
YAML
|
|
||
|
stages:
|
||
|
- check
|
||
|
- build
|
||
|
# 构建 Job
|
||
|
check:
|
||
|
stage: check
|
||
|
tags:
|
||
|
- maven
|
||
|
script:
|
||
|
- mvn -v
|
||
|
build:
|
||
|
stage: build
|
||
|
tags:
|
||
|
- maven
|
||
|
script:
|
||
|
- mvn install
|
||
|
- ls ./target/*.jar
|
||
|
artifacts:
|
||
|
expire_in: 1 week
|
||
|
paths:
|
||
|
- ./target/*.jar
|