jenkinsci / poll-mailbox-trigger-plugin

A Jenkins plugin, to poll an email inbox, and trigger jobs based on new emails.
https://plugins.jenkins.io/poll-mailbox-trigger-plugin/
MIT License
40 stars 32 forks source link

Add "DELETE" Function To Mailbox Trigger? #24

Open David-Adams-RCI opened 7 years ago

David-Adams-RCI commented 7 years ago
Hi Nicholas, I was wondering if we could add a "delete" function to the poll mailbox trigger. I have a build that's scheduled to read a particular email for Oracle Database Refreshes and everytime the schedule runs around, it re-runs the build even though the email is marked "read". ### Steps to reproduce How can we reproduce the issue 1. Create Build 2. Set Schedule 3. Send trigger email to box. Once it arrives, you'll see it as "unread". The job will run, mark the email as "read", but it will still continue subsequent builds :( ### Expected behaviour I expected the build to run once, then not build again after marked read. ### Actual behaviour Build runs regardless of email status. Will continue to run until I delete the email. ### Server configuration **Operating system**: Oracle Enterprise Linux 6 **Jenkins Version**: 1.651.3 **Plugin Version**: 1.023 **Mail Server**: Exchange ### Additional Steps/Questions N/A