[JIRA] (JENKINS-16248) URL Trigger plugin doesn't support file:/// URLs
SCM/JIRA link daemon commented on JENKINS-16248 URL Trigger plugin doesn't support file:/// URLs Code changed in jenkins User: Nicolas De Loof Path: src/main/java/org/jenkinsci/plugins/urltrigger/URLTrigger.java http://jenkins-ci.org/commit/urltrigger-plugin/1c89eec7a83dfdffdc73cf88168e2d5c55f0b512 Log: JENKINS-16248 warn user when non-http URL is used (cherry picked from commit 73722c47170dff62aa86905b02acc78ac8587271) 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/groups/opt_out.
[JIRA] (JENKINS-16248) URL Trigger plugin doesn't support file:/// URLs
Gregory Boissinot commented on JENKINS-16248 URL Trigger plugin doesn't support file:/// URLs Great to hear that. At the moment, URLTrigger provides a warning for non HTTP values. However, it should also support basic file protocol support. I change the issue to 'Improvement' 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
[JIRA] (JENKINS-16248) URL Trigger plugin doesn't support file:/// URLs
Gregory Boissinot updated JENKINS-16248 URL Trigger plugin doesn't support file:/// URLs Change By: Gregory Boissinot (03/Jan/13 11:21 PM) Issue Type: Bug Improvement 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
[JIRA] (JENKINS-16248) URL Trigger plugin doesn't support file:/// URLs
SCM/JIRA link daemon commented on JENKINS-16248 URL Trigger plugin doesn't support file:/// URLs Code changed in jenkins User: Nicolas De Loof Path: src/main/java/org/jenkinsci/plugins/urltrigger/URLTrigger.java http://jenkins-ci.org/commit/urltrigger-plugin/73722c47170dff62aa86905b02acc78ac8587271 Log: JENKINS-16248 warn user when non-http URL is used 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
[JIRA] (JENKINS-16248) URL Trigger plugin doesn't support file:/// URLs
garethbowles commented on JENKINS-16248 URL Trigger plugin doesn't support file:/// URLs FSTrigger works fine for my needs. 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
[JIRA] (JENKINS-16248) URL Trigger plugin doesn't support file:/// URLs
garethbowles commented on JENKINS-16248 URL Trigger plugin doesn't support file:/// URLs I didn't know about the FSTrigger plugin. Will try it out and let you know the results. 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
[JIRA] (JENKINS-16248) URL Trigger plugin doesn't support file:/// URLs
Gregory Boissinot commented on JENKINS-16248 URL Trigger plugin doesn't support file:/// URLs You're right. It is not currently supported. Could make a try to the complementary plugin for file: FSTrigger? 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
[JIRA] (JENKINS-16248) URL Trigger plugin doesn't support file:/// URLs
Gregory Boissinot started work on JENKINS-16248 URL Trigger plugin doesn't support file:/// URLs Change By: Gregory Boissinot (02/Jan/13 11:45 PM) Status: Open In Progress 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
[JIRA] (JENKINS-16248) URL Trigger plugin doesn't support file:/// URLs
garethbowles created JENKINS-16248 URL Trigger plugin doesn't support file:/// URLs Issue Type: Bug Affects Versions: current Assignee: Gregory Boissinot Components: urltrigger Created: 02/Jan/13 9:14 PM Description: I switched to the URL Trigger plugin from the URL Change Trigger since the latter is no longer available in the update center and the former's documentation says that it supports all the latter's functionality. However, when I try polling a file:/// URL (which worked fine with the URL Change Trigger), I get the following error in the polling log: Polling on master. Invoking the url: file:/apps/jenkins/config.xml [ERROR] - SEVERE - Polling error java.lang.ClassCastException: sun.net.www.protocol.file.FileURLConnection cannot be cast to java.net.HttpURLConnection Full stack trace from Jenkins log: Jan 02, 2013 1:11:24 PM org.jenkinsci.plugins.urltrigger.URLTrigger start SEVERE: Severe error on trigger startup java.lang.ClassCastException: sun.net.www.protocol.file.FileURLConnection cannot be cast to java.net.HttpURLConnection com.sun.jersey.api.client.ClientHandlerException: java.lang.ClassCastException: sun.net.www.protocol.file.FileURLConnection cannot be cast to java.net.HttpURLConnection at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149) at com.sun.jersey.api.client.Client.handle(Client.java:648) at com.sun.jersey.api.client.WebResource.handle(WebResource.java:670) at com.sun.jersey.api.client.WebResource.get(WebResource.java:191) at org.jenkinsci.plugins.urltrigger.URLTrigger.start(URLTrigger.java:261) at org.jenkinsci.lib.xtrigger.AbstractTrigger.start(AbstractTrigger.java:97) at org.jenkinsci.lib.xtrigger.AbstractTrigger.start(AbstractTrigger.java:26) at hudson.model.AbstractProject.submit(AbstractProject.java:1868) at hudson.model.Project.submit(Project.java:195) at hudson.model.Job.doConfigSubmit(Job.java:1045) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:722) at sun.reflect.GeneratedMethodAccessor915.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:487) at org.kohsuke.stapler.Stapler.service(Stapler.java:164) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at org.apache.cat