Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poll mail box plugin is able to read the mail, but polling is not working or running very late.. #50

Open
amar8821 opened this issue Nov 7, 2018 · 0 comments

Comments

@amar8821
Copy link

amar8821 commented Nov 7, 2018

Expected behaviour

Poll mail box trigger plugin should read the mail, once it reads job should run.

Actual behaviour

It is able to find the mail but polling is not starting or running very late(1hour/1.5hours). Initially it was running fine, suddenly it is happening like this. I neither updated Jenkins nor the plugin..Please provide me the solution.

Please see below.

Connecting to the mailbox...
Found properties:

  • [attachments:IGNORE]

  • [folder:INBOX]

  • [host:[email protected]]

  • [mail.debug:false]

  • [mail.debug.auth:false]

  • [mail.imaps.host:[email protected]]

  • [mail.imaps.port:993]

  • [password:***]

  • [receivedXMinutesAgo:1440]

  • [storeName:imaps]

  • [subjectContains:OPENED: 'test- Check Failure']

  • [username:[email protected]]
    Connected to mailbox. Searching for messages where:

  • [flag is unread]

  • [subject contains 'OPENED: 'test- Check Failure'']

  • [received date is greater than '2018/11/05 21:29:59 PM']
    ...
    Searching folder...
    Found matching email(s) : 1

  • OPENED: 'test- Check Failure' (2018/11/06 20:46:06 PM)
    'Test connection' mode enabled - server connection skipped

Server configuration

Operating system: Windows Server 2012 R2

Jenkins Version : jenkins-2.121.3

Plugin Version: Poll mail box trigger plugin-1.026

Mail Server: exhange server

One example for running late:

Mail received at 15:45:11 PM but polling has started at 4:11:03 PM
Polling started on Nov 4, 2018 4:11:03 PM
Polling for the job test
Looking nodes where the poll can be run.
Looking for a candidate node to run the poll.
Looking for a node with no predefined label.
Trying to poll with the last built on node.

Polling on master.
Connecting to the mailbox...
[Poll Mailbox Trigger] - Connected!
Found properties:

  • [attachments:IGNORE]

  • [folder:INBOX]

  • [host:]

  • [mail.debug:false]

  • [mail.debug.auth:false]

  • [mail.imaps.host:]

  • [mail.imaps.port:993]

  • [password:***]

  • [receivedXMinutesAgo:1440]

  • [storeName:imaps]

  • [subjectContains:test]

  • [[email protected]]
    Connected to mailbox. Searching for messages where:

  • [flag is unread]

  • [subject contains test

  • [received date is greater than '2018/11/03 17:11:04 PM']
    ...
    Searching folder...
    Found matching email(s) : 2

  • test (2018/11/04 15:45:11 PM)

  • test (2018/11/04 15:54:18 PM)
    Download attachments? IGNORE
    Changes found. Scheduling a build.
    Job has no parameters.
    Marked email(s) as read : 1
    Download attachments? IGNORE
    Changes found. Scheduling a build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant