Add woodpecker pipeline
This commit is contained in:
parent
70a1141750
commit
13ec4b769f
1 changed files with 25 additions and 0 deletions
25
.woodpecker/build.yml
Normal file
25
.woodpecker/build.yml
Normal 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
|
Loading…
Reference in a new issue