Refer to https://jenkins.io/doc/developer/tutorial/create/ for examples of various types of Jenkins plugins, including:
- Empty plugin - Plugin with global configuration - Hello world sample plugin - Pipeline shared library testing - Pipeline unit mock testing You may also find it helpful to review https://jenkins.io/doc/developer/plugin-development/ and the suggestions there. On Fri, Aug 16, 2019 at 9:28 AM varun vikas <[email protected]> wrote: > Hi, > > can any one please provide lists of annotations used in Jenkins. > There are many annotations , and it is difficult to find out , what these > annotations mean. > I am going through Jenkins code flow. > > Hudson Web Application Entry Point > Stapler is initialized in the Web.xml and specified as Servlet > <servlet> > <servlet-name>Stapler</servlet-name> > <servlet-class>org.kohsuke.stapler.Stapler</servlet-class> > </servlet> > <servlet-mapping> > <servlet-name>Stapler</servlet-name> > <url-pattern>/</url-pattern> > </servlet-mapping> > <listener> > <listener-class>hudson.WebAppMain</listener-class> > </listener> > Hudson Main > Object gets > Initialized > public class WebAppMain implements ServletContextListener { > public void contextInitialized(ServletContextEvent event) { > // Set Hudson Singleton as Root Object > Stapler.setRoot(event,Hudston.getInstance()); > } > public void contextDestroyed(ServletContextEvent event) { > // Handle Hudson instance clean up > } > } > > > so, please elaborate..e.g what is code flow when we create any > project..starting from Hudson Web Application entry point. > It seems very difficult to understand code flow...without proper > documentation. > > > Thanks, > Varun > > -- > 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/b217e6b7-6d1e-45fe-8d1f-c26b97568bb0%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/b217e6b7-6d1e-45fe-8d1f-c26b97568bb0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Thanks! Mark Waite -- 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/CAO49JtGCXWt5pRG0MgD%3Dhd_K%3D90UBpcqb5BywaUe_rimuiWYeQ%40mail.gmail.com.
