ESRPatchJava/.drone.yml
Dmitry Isaenko 4ce10480b0
All checks were successful
continuous-integration/drone Build is passing
Cosmetic updates
2022-10-01 03:05:35 +03:00

30 lines
No EOL
574 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
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/ESRPatchJava
- cp target/ESRPatchJava-*[0-9].jar /builds/ESRPatchJava/
volumes:
- name: builds
path: /builds
volumes:
- name: m2
host:
path: /home/docker/drone/files/m2
- name: builds
host:
path: /home/www/builds