mplayer4anime/.drone.yml

30 lines
570 B
YAML
Raw Normal View History

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:
2022-07-15 06:57:06 +03:00
- mkdir -p /builds/mplayer4anime
2022-07-15 07:18:26 +03:00
- cp target/mplayer4anime-*jar /builds/mplayer4anime/
volumes:
2022-07-15 06:57:06 +03:00
- name: builds
path: /builds
volumes:
- name: m2
host:
2022-07-15 08:23:24 +03:00
path: /home/docker/drone/files/m2
2022-07-15 06:57:06 +03:00
- name: builds
host:
2022-07-15 08:23:24 +03:00
path: /home/www/builds