Add woodpecker pipeline

This commit is contained in:
Ryan Harg 2024-11-27 11:58:37 +01:00
parent 70a1141750
commit 13ec4b769f

25
.woodpecker/build.yml Normal file
View file

@ -0,0 +1,25 @@
when:
- event: push
steps:
- name: build
image: eclipse-temurin:21-jdk-alpine
commands:
- ./mvnw clean package
- name: notify
image: deblan/woodpecker-email
settings:
debug: true
dsn:
from_secret: smtp_url
from:
address:
from_secret: email_sender
name: "Woodpecker CI"
recipients_only: true
recipients:
from_secret: email_recipient
when:
status:
- failure