Tihwin/.drone.yml
Dmitry Isaenko 2d30683436
All checks were successful
continuous-integration/drone/push Build is passing
Add language selector, update build config, add launch4j, other small changes that does not make impact on functionality
2022-12-25 07:03:37 +03:00

31 lines
No EOL
612 B
YAML

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