kafka-health-check/.gitlab-ci.yml

38 lines
611 B
YAML
Raw Normal View History

2019-03-28 18:35:14 +03:00
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