JavaUSBTool/.woodpecker/woodpecker.yml
Dmitry Isaenko 7479811a0d
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Move to Woodpecker CI
2024-11-21 00:35:58 +03:00

20 lines
466 B
YAML

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