Commit 0813c96f authored by David Diederich's avatar David Diederich
Browse files

Adding 'package' target to compile job

It seems reasonable to go ahead and create the jar files during the first
stage. Then, these files will be available as artifacts to the remaining jobs,
rather than introducing another stage just for packaging.
parent 82298576
......@@ -12,7 +12,13 @@
cache:
paths:
- $MAVEN_REPO_PATH
- ./*/target
artifacts:
paths:
- ./target/*.jar
- ./*/target/*.jar
- ./*/*/target/*.jar
- ./*/*/*/target/*.jar
before_script:
- | # Check for the presence of a maven wrapper script
......@@ -36,7 +42,7 @@ compile:
extends: .maven
stage: build
script:
- $MAVEN compile
- $MAVEN compile package -DskipTests
unit-tests:
extends: .maven
......
Supports Markdown
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