scenarium-logger/.gitlab-ci.yml

29 lines
759 B
YAML

image: heeroyui/scenarium-gitlabci:latest
variables:
JAVA_TOOL_OPTIONS: "-Dfile.encoding=UTF8"
before_script:
- which javac
- javac --version
- mvn --version
- ant -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/ant/coverage/site
- out/ant/package
reports:
junit: out/ant/junit/TEST-*.xml