ns-usbloader/.drone.yml
Dmitry Isaenko 338bb699d1
All checks were successful
continuous-integration/drone/push Build is passing
Another one build-system-related fix
2022-12-23 07:47:10 +03:00

44 lines
962 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: test
image: maven:3-openjdk-17
commands:
- mvn -B -DskipTests clean package
- mvn test -B
volumes:
- name: m2
path: /root/.m2
- name: archive-standard-artifact
image: alpine:latest
commands:
- mkdir -p /builds/ns-usbloader
- cp target/ns-usbloader-*jar /builds/ns-usbloader/
- cp target/NS-USBloader-*exe /builds/ns-usbloader/
volumes:
- name: builds
path: /builds
- name: emerge-legacy-artifact
image: maven:3-openjdk-17
commands:
- . ./.make_legacy
- mvn -B -DskipTests clean package
- cp target/ns-usbloader-*jar /builds/ns-usbloader/
- cp target/NS-USBloader-*exe /builds/ns-usbloader/
volumes:
- name: m2
path: /root/.m2
- name: builds
path: /builds
volumes:
- name: m2
host:
path: /home/docker/drone/files/m2
- name: builds
host:
path: /home/www/builds