Hi, there's no how to... volunteers wanted!
Anyway the simplest thing you can do is to have a look at the source code of other plugins which provide specific portlets. There is also a brief description of what you need to do at https://wiki.jenkins-ci.org/display/JENKINS/Dashboard+View (section: Extending the DashboardView plugin). This can be a start: https://github.com/jenkinsci You have to provide a class which extends DashboardPortlet import hudson.plugins.view.dashboard.DashboardPortlet; class MyPortlet extends DashboardPortlet { @DataBoundConstructor public MyPortlet(String name) { super(name); } // do whatever you want @Extension public static class DescriptorImpl extends Descriptor<DashboardPortlet> { @Override public String getDisplayName() { return "MyPortlet"; } } }; The only things you need to provide are in the sample class above, all the rest is about your plugin logic. Then you need to create a portlet.jelly which is used to display what you want: <j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:dp="/hudson/plugins/view/dashboard" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"> <dp:decorate portlet="${it}"> <!- This is to say that this is a dashboard view portlet --> <tr><td> <!- This is needed because everything is formatted as a table - ugly, I know --> <div align="center"> <st:include page="myportlet.jelly"/> <!-- you can include a separate file with the logic to display your data or you can write here directly --> </div> </td></tr> </dp:decorate> </j:jelly> I'll update the section in the wiki with this information. Marco On 14 November 2012 07:31, Glfk4rt <glfk...@gmail.com> wrote: > Certainly covers the ground. > > I thought that all of the portlets went through the dashboard view and was > hoping there would be something more specific. > > Thanks, > Rodney > > > > On Tue, Nov 13, 2012 at 4:49 PM, Mark Waite <markwa...@yahoo.com> wrote: > >> How about https://wiki.jenkins-ci.org/display/JENKINS/Extend+Jenkins ? >> >> Mark Waite >> >> >> On Tuesday, November 13, 2012 1:52:14 PM UTC-7, Rodney Stanton wrote: >>> >>> I tried Googling for a HOWTO without luck. (yes, I did google first :P ) >>> >>> Our development would like more customization on our Dashboard. Is >>> there a portlet development FAQ? >>> >>> Rodney >>> >> > -- Marco Ambu E-mail: marco.a...@gmail.com LinkedIn profile: <http://www.linkedin.com/in/marcoambu>