ISEE9660/.woodpecker/woodpecker.yml

21 lines
477 B
YAML
Raw Permalink Normal View History

2022-09-15 18:42:33 +03:00
steps:
- name: build-install-locally
2024-11-21 00:01:52 +03:00
when:
event: [tag, push]
2022-09-15 18:42:33 +03:00
image: maven:3-jdk-11
commands:
- mvn -B -DskipTests clean install
- mvn test -B
volumes:
2024-11-21 00:01:52 +03:00
- /home/docker/woodpecker/files/m2:/root/.m2
2022-09-15 18:42:33 +03:00
- name: archive-artifact
2024-11-21 00:01:52 +03:00
when:
event: [tag, push]
2022-09-15 18:42:33 +03:00
image: alpine:latest
commands:
- mkdir -p /builds/ISEE9660
- cp target/ISEE9660-*[0-9].jar /builds/ISEE9660/
volumes:
2024-11-21 00:01:52 +03:00
- /home/www/builds:/builds