Issue Type: Bug Bug
Assignee: dfabulich
Components: url-change-trigger
Created: 19/Mar/14 1:14 PM
Description:

I have a url trigger with a text context and default regex of ".*" The cron schedule is "0 08-16 * * 1-5", which is to say business hours during business days.

Each morning the trigger runs at 8am to check the content and seems to have forgotten the state from the last invocation at 4pm the previous day. It prints:

Inspecting TXT content for URL https://jenkins/job/myjob/lastSuccessfulBuild/buildNumber

Polling started on Mar 19, 2014 8:01:19 AM
Polling for the job myjob
Looking nodes where the poll can be run.
Looking for a node to the restricted label master.
Restrict on master label. Polling on master.

Polling on master.
Using Basic Authentication with the user 'user'
Invoking the url:
https://jenkins/job/myjob/lastSuccessfulBuild/buildNumber
Inspecting the content
Capturing URL context. Waiting next schedule to check a change.

Polling complete. Took 0.66 sec.
No changes.

This effectively means the earliest the job can be triggered is the second cron trigger of the day. I would expect that the URL Trigger plugin would remember the value from the previous day and calculate changes from that. Jenkins has not been restarted overnight.

Environment: url-trigger 0.37
Jenkins 1.554
Tomcat 7
Linux
Project: Jenkins
Priority: Major Major
Reporter: Trevor Baker
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to