This commit is contained in:
parent
5f9978bbb3
commit
d08b6de0e1
1 changed files with 0 additions and 30 deletions
30
.drone.yml
30
.drone.yml
|
@ -1,30 +0,0 @@
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: default
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: test
|
|
||||||
image: maven:3-jdk-11
|
|
||||||
commands:
|
|
||||||
- mvn -B -DskipTests clean package
|
|
||||||
- mvn test -B
|
|
||||||
volumes:
|
|
||||||
- name: m2
|
|
||||||
path: /root/.m2
|
|
||||||
|
|
||||||
- name: archive-artifact
|
|
||||||
image: alpine:latest
|
|
||||||
commands:
|
|
||||||
- mkdir -p /builds/logiledus
|
|
||||||
- cp target/LogiLedus-*jar /builds/logiledus/
|
|
||||||
volumes:
|
|
||||||
- name: builds
|
|
||||||
path: /builds
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: m2
|
|
||||||
host:
|
|
||||||
path: /home/docker/drone/files/m2
|
|
||||||
- name: builds
|
|
||||||
host:
|
|
||||||
path: /home/www/builds
|
|
Loading…
Reference in a new issue