Switched GitLab and BitBucket pipelines to single stage
This commit is contained in:
parent
3e834ae310
commit
c25646e265
2 changed files with 5 additions and 13 deletions
|
@ -5,15 +5,14 @@ cache:
|
||||||
- .m2/repository/
|
- .m2/repository/
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
|
||||||
- test
|
- test
|
||||||
|
|
||||||
download:
|
download:
|
||||||
stage: build
|
stage: test
|
||||||
script: ./bld download
|
script: ./bld download
|
||||||
|
|
||||||
compile:
|
compile:
|
||||||
stage: build
|
stage: test
|
||||||
script: ./bld compile
|
script: ./bld compile
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
|
|
@ -3,15 +3,8 @@ image: openjdk:17
|
||||||
pipelines:
|
pipelines:
|
||||||
default:
|
default:
|
||||||
- step:
|
- step:
|
||||||
name: "Download dependencies"
|
|
||||||
script:
|
script:
|
||||||
- bash ./bld download
|
- ./bld download
|
||||||
- step:
|
- ./bld compile
|
||||||
name: "Compile project"
|
- ./bld test
|
||||||
script:
|
|
||||||
- bash ./bld compile
|
|
||||||
- step:
|
|
||||||
name: "Run tests"
|
|
||||||
script:
|
|
||||||
- bash ./bld test
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue