Re: Create Dynamic UnprotectedRootURL

2014-05-27 Thread Daniel Brooks
Stephen, That worked thanks a bunch!! On Tuesday, May 27, 2014 1:20:34 AM UTC-7, Stephen Connolly wrote: > > You just want to add either a doDynamic or a getDynamic method (the > getDynamic is likely more what you want to return an object that has its > own views) > > > On 27 May 2014 01:2

Re: Create Dynamic UnprotectedRootURL

2014-05-27 Thread Stephen Connolly
You just want to add either a doDynamic or a getDynamic method (the getDynamic is likely more what you want to return an object that has its own views) On 27 May 2014 01:29, Daniel Brooks wrote: > Ok, heres an example of My Class: > > public class WebHook implements UnprotectedRootAction { > >

Re: Create Dynamic UnprotectedRootURL

2014-05-26 Thread Daniel Brooks
Ok, heres an example of My Class: public class WebHook implements UnprotectedRootAction { public static final String WEBHOOK_URL = "projects"; public String getIconFileName() { return null; } public String getDisplayName() { return null; } public String

Re: Create Dynamic UnprotectedRootURL

2014-05-26 Thread Daniel Beck
DirectoryBrowserSupport (for e.g. AbstractProject.doWs()) does something similar, so something like the following should work: Have your UnprotectedRootAction return an object implementing org.kohsuke.stapler.HttpResponse from its doProject() method. In that HttpResponse's generateResponse, acc

Create Dynamic UnprotectedRootURL

2014-05-26 Thread Daniel Brooks
HI, I am trying to create a dynamic UnprotectedRootURL, where it will process anything like /projects/xyz or /projects/abc. Is there a way to currently do this with Jenkins. Thanks, Daniel -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To