Skip to content
Snippets Groups Projects
Commit 487e1ef9 authored by Gustav Kylberg's avatar Gustav Kylberg
Browse files

added yml file

parent a1df9888
No related branches found
No related tags found
No related merge requests found
Pipeline #105908 failed
image: alash325/javaant:latest
stages: # List of stages for jobs, and their order of execution
- build
- test
- deploy
build: # This job runs in the build stage, which runs first.
stage: build
script:
- ant build
test: # This job runs in the test stage.
stage: test # It only starts when the job in the build stage completes successfully.
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment