logiledus/.woodpecker/woodpecker.yml

21 lines
457 B
YAML
Raw Permalink Normal View History

2024-11-20 23:55:35 +03:00
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/logiledus
- cp target/LogiLedus-*jar /builds/logiledus/
volumes:
- /home/www/builds:/builds