summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 79c510b2..82dd4609 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,7 +18,6 @@ include:
stages:
- assemble
- - visualize
- test
- package
- release
@@ -31,6 +30,8 @@ assemble:
stage: assemble
except:
- tags
+ tags:
+ - docker
script: |
mvn $MAVEN_CLI_OPTS compile test
artifacts:
@@ -42,8 +43,10 @@ assemble:
- build_reporting/target/site/jacoco-aggregate-ut/jacoco.csv
coverage:
- stage: visualize
+ stage: test
image: haynes/jacoco2cobertura:1.0.4
+ tags:
+ - docker
script:
- mkdir -p target/site
# convert report from jacoco to cobertura
@@ -62,6 +65,8 @@ coverage:
publishToGitlab:
stage: package
+ tags:
+ - docker
except:
- tags
- /^feature/.*$/i
@@ -82,6 +87,8 @@ publishToGitlab:
release:
stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest
+ tags:
+ - docker
needs:
- job: publishToGitlab
artifacts: true