Commit 24062cab authored by René Schöne's avatar René Schöne
Browse files

Add test stage, correct paths, add expires

parent 7d23e49c
Pipeline #10109 failed with stages
in 12 seconds
......@@ -3,6 +3,7 @@ variables:
stages:
- build
- test
- publish
before_script:
......@@ -20,7 +21,21 @@ build:
- ./gradlew --console=plain --no-daemon assemble jar
artifacts:
paths:
- "/builds/jastadd/ragconnect/build/libs/ragconnect-*.jar"
- "/builds/jastadd/ragconnect/ragconnect.base/build/libs/ragconnect-*.jar"
expire_in: 1 week
test:
image: openjdk:11
stage: test
services:
- name: "eclipse-mosquitto:1.6.9"
alias: "mqtt"
script:
- ./gradlew --console=plain --no-daemon allTests
artifacts:
reports:
junit: "/builds/jastadd/ragconnect/ragconnect.tests/build/test-results/test/TEST-*.xml"
expire_in: 1 week
publish:
image: openjdk:11
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment