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

Fix build logic

parent f0e6c2e9
No related branches found
No related tags found
No related merge requests found
Pipeline #9958 passed
...@@ -5,7 +5,6 @@ stages: ...@@ -5,7 +5,6 @@ stages:
- build - build
- ragdoc_build - ragdoc_build
- ragdoc_view - ragdoc_view
- test
- publish - publish
before_script: before_script:
...@@ -29,7 +28,7 @@ build: ...@@ -29,7 +28,7 @@ build:
test: test:
image: openjdk:11 image: openjdk:11
stage: test stage: build
script: script:
- ./gradlew --console=plain --no-daemon check - ./gradlew --console=plain --no-daemon check
artifacts: artifacts:
...@@ -40,6 +39,7 @@ publish: ...@@ -40,6 +39,7 @@ publish:
image: openjdk:11 image: openjdk:11
stage: publish stage: publish
needs: needs:
- build
- test - test
script: script:
- "./gradlew :publish" - "./gradlew :publish"
......
...@@ -68,6 +68,8 @@ jar { ...@@ -68,6 +68,8 @@ jar {
from { from {
configurations.runtimeClasspath.collect { return (it.exists() && !it.toString().endsWith("model.jar")) ? (it.isDirectory() ? it : zipTree(it)) : null } configurations.runtimeClasspath.collect { return (it.exists() && !it.toString().endsWith("model.jar")) ? (it.isDirectory() ? it : zipTree(it)) : null }
} }
archiveBaseName = 'coverage-generator'
} }
// Input and output files for relast // Input and output files for relast
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment