Commit 089fc04a authored by Nicola Bertazzo's avatar Nicola Bertazzo

Update .gitlab-ci.yml

parent f0a96cab
Pipeline #1698 canceled with stages
...@@ -9,6 +9,12 @@ ...@@ -9,6 +9,12 @@
# #
# * Caches downloaded dependencies and plugins between invocation. # * Caches downloaded dependencies and plugins between invocation.
stages:
- build
- test
- deploy
variables: variables:
# This will supress any download for dependencies and plugins or upload messages which would clutter the console log. # 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. # `showDateTime` will show the passed time in milliseconds. You need to specify `--batch-mode` to make this work.
...@@ -23,7 +29,10 @@ variables: ...@@ -23,7 +29,10 @@ variables:
# paths: # paths:
# - $HOME/.m2/repository/ # - $HOME/.m2/repository/
build: build:
stage: build
script: script:
- "mvn clean package -Dhttps.proxyHost=192.168.10.1 -Dhttps.proxyPort=3128" - "mvn clean package -Dhttps.proxyHost=192.168.10.1 -Dhttps.proxyPort=3128"
image: maven:3.3.9-jdk-8 image: maven:3.3.9-jdk-8
...@@ -37,6 +46,7 @@ build: ...@@ -37,6 +46,7 @@ build:
- docker - docker
int-test: int-test:
stage: test
script: script:
- "ls ." - "ls ."
image: maven:3.3.9-jdk-8 image: maven:3.3.9-jdk-8
...@@ -44,6 +54,7 @@ int-test: ...@@ -44,6 +54,7 @@ int-test:
- docker - docker
docker-build: docker-build:
stage: deploy
script: script:
- "ls ." - "ls ."
image: docker image: docker
......
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