[
https://issues.jenkins-ci.org/browse/JENKINS-12164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
OHTAKE Tomohiro closed JENKINS-12164.
-------------------------------------
> After URL content had a change, all of following pollings detect changes
> ------------------------------------------------------------------------
>
> Key: JENKINS-12164
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12164
> Project: Jenkins
> Issue Type: Bug
> Components: urltrigger
> Environment: URLTrigger 0.8, Jenkins 1.443, Ubuntu 11.10 Server 64bit
> URLTrigger 0.8, Jenkins 1.410, Windows 7 32bit
> Reporter: OHTAKE Tomohiro
> Assignee: gbois
>
> # Create a job which polls with http://localhost/foo.txt and monitors a
> change of the content.
> # 1st poll result is "No changes". (expected)
> # Edit foo.txt on localhost.
> # 2nd poll result is "There are changes". (expected)
> # 3rd poll result is "There are changes". (NOT expected)
> # Go to the job configuration page, and click "save". There is no need to
> edit the configuration.
> # 4th poll result is "No changes". (expected)
> If ClientResponse.getEntity is called multiple times,
> its return value will be an empty string.
> A workaround would be
> https://github.com/ohtake/urltrigger-plugin/commit/f9c3cbde37a7f46e7fa6e14540fa6d0a96312c29.
> It is not a neat commit, but it works for me.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira