support drone #5
13
.drone.yml
13
.drone.yml
@ -3,8 +3,15 @@ type: docker
|
|||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: install
|
- name: build
|
||||||
image: alpine
|
image: maven
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /root/.m2
|
||||||
commands:
|
commands:
|
||||||
- mvn install
|
- mvn clean install -DskipTests
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: cache # The name use in this pipeline,
|
||||||
|
host:
|
||||||
|
path: /var/lib/cache # The path be used in the host.
|
||||||
|
Loading…
Reference in New Issue
Block a user