libKonogonka/.drone.yml

38 lines
742 B
YAML
Raw Normal View History

2022-08-10 15:55:50 +03:00
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/libKonogonka
- cp target/libKonogonka-*-jar-with-dependencies.jar /builds/libKonogonka/
volumes:
- name: builds
path: /builds
- name: install-local-repo
2022-08-10 17:51:06 +03:00
image: maven:3-jdk-11
2022-08-10 15:55:50 +03:00
commands:
2022-08-10 18:03:59 +03:00
- . ./.deploy_locally
volumes:
- name: m2
path: /root/.m2
2022-08-10 15:55:50 +03:00
volumes:
- name: m2
host:
path: /home/docker/drone/files/m2
- name: builds
host:
path: /home/www/builds