From 1efc46ce05e419db477b2d6a7c283d2164f2b264 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 24 Jan 2024 20:39:52 +0100 Subject: [PATCH] t --- .woodpecker/ansible-lint.yml | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/.woodpecker/ansible-lint.yml b/.woodpecker/ansible-lint.yml index d1d98afd..467e0c23 100644 --- a/.woodpecker/ansible-lint.yml +++ b/.woodpecker/ansible-lint.yml @@ -17,21 +17,20 @@ steps: notify: name: notify - image: drillster/drone-email + image: deblan/woodpecker-email-php settings: - host: docker10.mgrote.net:1025 - from: ci@mgrote.net - #subject: "CI: Run failed! - $CI_REPO" - subject: "test" -# body: | -# $CI_REPO -# $CI_REPO_DEFAULT_BRANCH -# $CI_COMMIT_SHA -# $CI_PIPELINE_NUMBER -# $CI_PIPELINE_URL -# $CI_WORKFLOW_NAME -# $CI_STEP_NAME -# $CI_STEP_STATUS - when: - status: - - failure + dsn: "smtp://docker10.mgrote.net:1025" + from: + address: "ci@mgrote.net" + name: "woodpecker" + evaluate: "build.status == 'failure' or prev_pipeline.status == 'failure'" + recipients: + - info@mgrote.net + content: + subject: "[{{ pipeline.status }}] {{ repo.full_name }} ({{ commit.branch }} - {{ commit.sha[0:8] }}" + body: | + {{ commit.sha }}
+ {{ pipeline.status }}
+ {{ commit.author_email }}
+ attachments: + - log/*