feature/docker #3
1 changed files with 9 additions and 1 deletions
10
.drone.yml
10
.drone.yml
|
@ -2,10 +2,18 @@ kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: default
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: build
|
||||||
image: maven:3.8-openjdk-18-slim
|
image: maven:3.8-openjdk-18-slim
|
||||||
commands:
|
commands:
|
||||||
- mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
- mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
include:
|
||||||
|
- master
|
||||||
|
- feature/*
|
||||||
|
- name: test
|
||||||
|
image: maven:3.8-openjdk-18-slim
|
||||||
|
commands:
|
||||||
- mvn test -B
|
- mvn test -B
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
|
|
Loading…
Reference in a new issue