kafka-health-check/.gitlab-ci.yml
2019-03-28 16:35:14 +01:00

38 lines
611 B
YAML

image: docker-proxy.device-insight.com/library/maven:alpine
variables:
DOCKER_DRIVER: overlay2
services:
- docker:stable-dind
mvn_test_job:
stage: build
script: >
mvn clean install -B -P gitlab
artifacts:
paths:
- kafka-health-check/target/*.log
when: on_failure
expire_in: 1 week
except:
- master
- develop
tags:
- dind
mvn_deploy_job:
stage: build
script: >
mvn clean deploy -B -P gitlab
artifacts:
paths:
- kafka-health-check/target/*.log
when: on_failure
expire_in: 1 week
only:
- master
- develop
tags:
- dind