libKonogonka/.drone.yml

30 lines
594 B
YAML
Raw Normal View History

2022-08-10 15:55:50 +03:00
kind: pipeline
type: docker
name: default
steps:
2022-08-10 19:33:01 +03:00
- name: build-install-locally
image: maven:3-openjdk-17
2022-08-10 15:55:50 +03:00
commands:
2022-08-10 19:33:01 +03:00
- mvn -B -DskipTests clean install
2022-08-10 15:55:50 +03:00
- mvn test -B
volumes:
- name: m2
path: /root/.m2
- name: archive-artifact
image: alpine:latest
commands:
- mkdir -p /builds/libKonogonka
2022-09-05 00:44:49 +03:00
- cp target/libKonogonka-*[0-9].jar /builds/libKonogonka/
2022-08-10 15:55:50 +03:00
volumes:
- name: builds
path: /builds
volumes:
- name: m2
host:
path: /home/docker/drone/files/m2
- name: builds
host:
path: /home/www/builds