Jenkins AbstractTrigger checkIfModified method called multiple times

7 views
Skip to first unread message

Shashank Bhargav

unread,
Apr 24, 2018, 1:35:23 AM4/24/18
to Jenkins Users
Hi,

We have a requirement where poll has to be done to DB, check some conditions and based on conditions satisfied trigger a build. So we have extended "AbstractTrigger" class and overriden "checkIfModified" method.
But what is noticed is the method is being called multiple times within a minute even though the cron expression is set to poll every minute. Its not very consistent on how many times a minute, has anyone faced this before? Could someone help.
Reply all
Reply to author
Forward
0 new messages