libKonogonka/.drone.yml
Dmitry Isaenko 32bea46f10
All checks were successful
continuous-integration/drone/push Build is passing
update deployment stage +2
2022-08-10 19:33:01 +03:00

30 lines
No EOL
607 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build-install-locally
image: maven:3-jdk-11
commands:
- mvn -B -DskipTests clean install
- mvn test -B
volumes:
- name: m2
path: /root/.m2
- name: archive-artifact
image: alpine:latest
commands:
- mkdir -p /builds/libKonogonka
- cp target/libKonogonka-*-jar-with-dependencies.jar /builds/libKonogonka/
volumes:
- name: builds
path: /builds
volumes:
- name: m2
host:
path: /home/docker/drone/files/m2
- name: builds
host:
path: /home/www/builds