JavaUSBTool/.woodpecker/woodpecker.yml

21 lines
466 B
YAML
Raw Normal View History

steps:
- name: test
2024-11-21 00:35:58 +03:00
when:
event: [tag, push]
image: maven:3-jdk-11
commands:
- mvn -B -DskipTests clean package
- mvn test -B
volumes:
2024-11-21 00:35:58 +03:00
- /home/docker/woodpecker/files/m2:/root/.m2
- name: archive-artifact
2024-11-21 00:35:58 +03:00
when:
event: [tag, push]
image: alpine:latest
commands:
- mkdir -p /builds/javausbtool
2022-07-19 00:02:19 +03:00
- cp target/javausbtool-*jar /builds/javausbtool/
volumes:
2024-11-21 00:35:58 +03:00
- /home/www/builds:/builds