fix: woodpecker

This commit is contained in:
ISA
2025-09-02 08:09:01 +02:00
parent 772baea4ed
commit 306f469634
6 changed files with 24 additions and 9 deletions

View File

@@ -37,10 +37,20 @@ steps:
- npx playwright test --project=chromium
- name: notify
image: woodpeckerci/plugin-email
image: deblan/woodpecker-email
settings:
recipients: ismail_ali_1@hotmail.com
subject: "Woodpecker Build: ${CI_PIPELINE_STATUS}"
body: "Build ${CI_PIPELINE_STATUS} für ${CI_REPO_NAME}.\nDetails: ${CI_BUILD_URL}"
dsn:
from_secret: SMTP_DSN # z.B. smtp://USER:PASS@smtp.office365.com:587?verify_peer=1
from:
address: "ci@dein-domain.tld"
name: "Woodpecker"
recipients:
- "ismail_ali_1@hotmail.com"
content:
subject: "[{{ pipeline.status }}] {{ repo.full_name }} ({{ commit.branch }} - {{ commit.sha[0:8] }})"
body: |
Status: {{ pipeline.status }}
Build: {{ pipeline.url }}
Commit: {{ commit.sha }} von {{ commit.author_email }}
when:
status: [success, failure]