Skip to content
Snippets Groups Projects

Merge new pipeline changes

Closed Emil Myhrberg requested to merge newbranch1 into master
.gitlab-ci.yml 0 → 100644
+ 49
0
 
image: alash325/javaant:latest
 
 
stages:
 
 
- build
 
- test
 
- deploy
 
 
build:
 
 
stage: build
 
 
script:
 
 
- ant build
 
 
test:
 
 
stage: test
 
 
script:
 
 
- ant -lib test/lib/junit.jar -Dtest=AllTests testall
 
 
artifacts:
 
 
paths:
 
 
- ./build/report/
 
 
reports:
 
junit:
 
- ./build/report/xml/TEST-*.*
 
 
pages:
 
 
stage: deploy
 
 
dependencies:
 
- test
 
 
script:
 
- mv ./build/report/ public/
 
 
artifacts:
 
 
paths:
 
- public
 
Loading