⚙️ Drone CI: Notify by mail
continuous-integration/drone/push Build was killed Details

master
Gerber, Mike 4 years ago
parent 545c75ebce
commit f9b4a2265e

@ -9,7 +9,8 @@ def main(ctx):
else:
return
return {
return [
{
"kind": "pipeline",
"name": name,
"steps": [
@ -36,8 +37,21 @@ def main(ctx):
step_for(ctx, "ocrd_tesserocr", tags),
step_for(ctx, "sbb_binarization", tags),
step_for(ctx, "sbb_textline_detector", tags),
{
"name": "notify",
"image": "drillster/drone-email",
"settings": {
"host": "172.17.0.1",
"from": "drone@ci.moegen-wir.net",
},
"when": {
"status": [ "success", "failure" ]
}
}
]
}
]
def step_for(ctx, sub_image, tags):
return {

Loading…
Cancel
Save