Den mandag den 21. oktober 2013 19.07.59 UTC+2 skrev Jesse Glick: > > On Mon, Oct 21, 2013 at 12:09 PM, Ronni Elken Lindsgaard > <[email protected] <javascript:>> wrote: > > I can get a publisher with > project.getPublishersList().get(MyPublisher.class) - > > what I want to do is > project.getBuildWrappers().get(MyBuildWrapper.class) or similar > > Use getBuildWrappersList. >
Ah of course, it is located in Project class. I get passed an AbstractProject. Is it safe to typecast an AbstractProject to Project? The instance comes from an SCM extension point. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
