scenarium-logger/.gitlab-ci.yml

28 lines
730 B
YAML

image: heeroyui/scenarium-gitlabci:latest
variables:
JAVA_TOOL_OPTIONS: "-Dfile.encoding=UTF8"
before_script:
- which javac
- javac --version
- mvn --version
stages:
- all
ant_job:
stage: all
script:
- ant all
#- awk -F, '{ instructions += $4 + $5; covered += $5 } END { print "===============================================\nCoverage Results:\n\n", covered, " / ", instructions, " instructions covered"; print "Total", 100*covered/instructions, "% covered\n==\n===============================================" }' out/coverage/site/jacoco.csv
artifacts:
when: on_success
expire_in: 3 day
paths:
- out/coverage/site
- out/package
reports:
junit: out/junit/TEST-*.xml