Commit 5405001b authored by Nicola Bertazzo's avatar Nicola Bertazzo

add stages.

parent 34f6efe8
Pipeline #152 failed with stages
......@@ -9,6 +9,11 @@
#
# * Caches downloaded dependencies and plugins between invocation.
stages:
- build
- test
- staging
variables:
# This will supress any download for dependencies and plugins or upload messages which would clutter the console log.
# `showDateTime` will show the passed time in milliseconds. You need to specify `--batch-mode` to make this work.
......@@ -24,12 +29,14 @@ variables:
# - $HOME/.m2/repository/
build:
stage: build
script: "mvn clean compile"
image: maven:3.3.9-jdk-8
tags:
- docker
test:
stage: test
script:
- "mvn test"
image: maven:3.3.9-jdk-8
......@@ -37,12 +44,14 @@ test:
- docker
package:
stage: staging
script: "mvn package"
image: maven:3.3.9-jdk-8
tags:
- docker
int-test:
stage: staging
script: "mvn verify"
image: maven:3.3.9-jdk-8
tags:
......
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