support drone
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
LingZhaoHui 2022-05-03 00:35:25 +08:00
parent 30d46c56b9
commit d3a78d414a
1 changed files with 10 additions and 3 deletions

View File

@ -3,8 +3,15 @@ type: docker
name: default
steps:
- name: install
image: alpine
- name: build
image: maven
volumes:
- name: cache
path: /root/.m2
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.