Cannot send email with woodpecker-next #1
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
reproduced
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: deblan/woodpecker-email#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm struggling to get the plugin to work. Here are the main issues. I started with this configuration:
I'm using woodpecker-next, with global secrets enabled (and email credentials stored there). With the above config, the plugin was not working and I saw in the logs:
possibily because the secret is looked up in the repo's secrets and not (also) in the global secrets, which don't exist in woodpecker-stable. So after looking at the source ans seeing that username and password can also be passed via env variable, changing the configuration as follows fixed that:
But now when it has to send email it fails with this message:
Is this also related to my usage of woodpecker-next? If so, is a fix planned?
Thanks.
Cannot send emailto Cannot send email with woodpecker-nextHi,
Can you replace
from.address
withfrom
and try again?The plugin does not retrieve secrets itself so that coult be a bug from woodpecker. I will run tests.
So changing
from.address
tofrom
made it work. This is my currently working config:Global settings works!