konogonka/.woodpecker/woodpecker.yml
2024-11-21 00:55:12 +03:00

20 lines
457 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/konogonka
- cp target/konogonka-*jar /builds/konogonka/
volumes:
- /home/www/builds:/builds