-
Bug
-
Resolution: Fixed
-
Minor
-
None
I have a URL trigger on jenkins server A (v1.439) setup to monitor the build number of job on jenkins server B (v1.437).
This is the URL trigger log:
Polling started on Nov 24, 2011 9:46:30 AM Invoking the url: http://<jenkinsB>/job/<somejob>/lastSuccessfulBuild/buildNumber Inspecting the content The line '124' matches the pattern '[0-9]+' [ERROR] - SEVERE - Polling error java.io.IOException: Stream closed
This is the response header for the url when viewing it in chrome debugger:
HTTP/1.1 200 OK Server: Winstone Servlet Engine v0.9.10 Content-Type: text/plain;charset=US-ASCII Connection: Close Date: Thu, 24 Nov 2011 10:11:31 GMT X-Powered-By: Servlet/2.5 (Winstone/0.9.10)
I can workaround this by using the api url to fetch the build number http://<jenkinsB>/job/<somejob>/lastSuccessfulBuild/api/xml?xpath=string(*/number) which does not close the connection.