Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54533

Polling is not working with Poll mail box trigger plugin even it is finding the mail

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Critical Critical
    • Jenkins-2.121.3
      Poll mail box trigger plugin-1.026

      Jenkins is able to find the mail, but polling is not getting started or sometimes it is running very late..

      Note:  I didn't update Jenkins version/Plugin version. I tried restarting also but didn't work.

      Please see below:

      Connecting to the mailbox...
      Found properties:

      • [attachments:IGNORE]
      • [folder:INBOX]
      • [mail.debug:false]
      • [mail.debug.auth:false]
      • [mail.imaps.port:993]
      • [password:***]
      • [receivedXMinutesAgo:1440]
      • [storeName:imaps]
      • [subjectContains:OPENED: 'test- Check Failure']
      • [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]
      • [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.

       

       

      Please suggest me to resolve this issue..

      Thanks in advance,

            nickg Nick Grealy
            amar8821 Amar Nadh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: