Skip to content
Snippets Groups Projects
Commit 24062cab authored by René Schöne's avatar René Schöne
Browse files

Add test stage, correct paths, add expires

parent 7d23e49c
Branches
No related tags found
No related merge requests found
Pipeline #9486 passed
...@@ -3,6 +3,7 @@ variables: ...@@ -3,6 +3,7 @@ variables:
stages: stages:
- build - build
- test
- publish - publish
before_script: before_script:
...@@ -20,7 +21,21 @@ build: ...@@ -20,7 +21,21 @@ build:
- ./gradlew --console=plain --no-daemon assemble jar - ./gradlew --console=plain --no-daemon assemble jar
artifacts: artifacts:
paths: 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: publish:
image: openjdk:11 image: openjdk:11
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment