A first start could be to study the Folder Plugin https://github.com/jenkinsci/cloudbees-folder-plugin
/B On Wed, Apr 22, 2015 at 3:30 PM, <[email protected]> wrote: > Thank you for your reply. > > May I know how could I learn this - details of how Jenkins loads and save > items ? > > Is there any Flowchart or Workflow of Jenkins(how internal classes and > jellies are connected and loaded) available ? > > I am really interested in this and also, I would like to contribute > plugins to Jenkins. > > Regards > Vinodhini > > On Wednesday, April 22, 2015 at 4:33:55 PM UTC+5:30, Jesse Glick wrote: >> >> On Wed, Apr 22, 2015 at 4:14 AM, <[email protected]> wrote: >> > While debugging, at AbstractItem.java:324, I got to see that the parent >> was null (after Jenkins restart). >> > >> > I am not sure what is wrong and what I am missing. >> >> Your SpecialMainProject or its children is somehow to blame, not the >> Jelly views. Most likely your mistake was persisting its children in >> the `children` field. This cannot work. >> >> Creating a new project type is a serious endeavour; there are a lot of >> subtle considerations, and you have to understand the details of how >> Jenkins loads and save items. I would not attempt it unless you are >> pretty experienced with plugin development. It is usually not >> something you want to do even then; generally you want to tack >> behavior on to an existing project type. >> > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/bee94117-6f20-4f2d-bd95-cf947379952b%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/bee94117-6f20-4f2d-bd95-cf947379952b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Robert Sandell *Software Engineer* *CloudBees Inc.* -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CALzHZS38hES17cbvQj1YAUkanjsoE_jt-27z%3DgmS1qu3PRkXeQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
