Closed jacksgt closed 7 years ago
It appears Drone isn't populating the DRONE_COMMIT_AUTHOR_EMAIL
field correctly. The plugin uses this field as the email-address. If it's populated with jh
instead of an email-address, Drone is doing so, not the plugin.
The Gitea remote for Drone is probably at fault here.
As for the plugin not exiting with code 1, that is an issue we'll need to address. I'll look into that asap.
You're right this is an issue with drone, see https://github.com/drone/drone/issues/2078
Thanks for your help!
Hi,
I'm trying to set up the drone-email to send notifications after builds, but I'm facing the issue that the plugin is using (or getting?) the wrong email address.
My .drone.yml (snippet):
However, I get the following error message:
The git comitter mail is very clearly
jackdev at mailbox dot org
, so I'm guessing drone-email is using my Gitea user account (jh
) as the mail address:Also, despite the error message, the plugins returns with exit code 0.