Hi Vincent, in this post https://groups.google.com/forum/#!topic/jenkinsci-dev/n8uOjBx1ibA there is my git repository and a description of the problem. Thanks
Il giorno venerdì 26 febbraio 2016 13:53:24 UTC+1, Vincent Latombe ha scritto: > > Without seeing your code it will be difficult to answer. > > Vincent > > 2016-02-26 11:27 GMT+01:00 Tommy Montingelli <[email protected] > <javascript:>>: > >> Hi Vincent, >> I have a class that extends GlobalConfiguration. When I install my plugin >> in Jenkins and my class is instantiated, the instance is null. If I restart >> Jenkins, the instance is not null. What should I do to avoid restarting >> Jenkins after installation of my Plugin? >> Thanks >> >> Il giorno venerdì 12 febbraio 2016 16:41:30 UTC+1, Vincent Latombe ha >> scritto: >>> >>> Great! >>> >>> Vincent >>> >>> 2016-02-12 11:12 GMT+01:00 Tommy Montingelli <[email protected]>: >>> >>>> Hi Vincent, >>>> I was wrong. With UnprotectedRootAction I've created the plugin. Thanks >>>> >>>> Il giorno mercoledì 10 febbraio 2016 13:58:46 UTC+1, Vincent Latombe ha >>>> scritto: >>>>> >>>>> Hi Tommy, >>>>> >>>>> you could take a look at the git plugin which uses an >>>>> UnprotectedRootAction as entry point for post-receive hook. >>>>> >>>>> >>>>> https://github.com/jenkinsci/git-plugin/blob/master/src/main/java/hudson/plugins/git/GitStatus.java >>>>> >>>>> Vincent >>>>> >>>>> 2016-02-10 11:49 GMT+01:00 Tommy Montingelli <[email protected]>: >>>>> >>>>>> Hi, >>>>>> I want to write a Jenkins Plugin in Java that trigger a new build >>>>>> when a slash command is typed in Slack. When this appen, an HTTP POST >>>>>> request is sent at Jenkins URL. >>>>>> I know that i should extend the Trigger Extension Point and define an >>>>>> inner static class that extends the corresponding descriptor to show >>>>>> this >>>>>> option in the Job Configuration page. >>>>>> So, I have some questions: >>>>>> >>>>>> 1. How I can listen and manage the requests made by Slack? What >>>>>> are the classes that do this? >>>>>> 2. How I can run my plugin when this trigger option is checked >>>>>> and stop the execution when this option is not active? >>>>>> 3. There are similar plugins? >>>>>> >>>>>> Thanks. >>>>>> >>>>>> -- >>>>>> 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/63c52092-396b-4edf-983a-c00f026afb0b%40googlegroups.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/jenkinsci-dev/63c52092-396b-4edf-983a-c00f026afb0b%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> -- >>>> 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/badf0d9b-1659-4530-af07-eae52ecbdef6%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/jenkinsci-dev/badf0d9b-1659-4530-af07-eae52ecbdef6%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-dev/a89613c2-d2a2-4e7f-a79a-fb2a62d584a0%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-dev/a89613c2-d2a2-4e7f-a79a-fb2a62d584a0%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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/0469d63e-b0b1-4e88-b4a4-97b462320bfd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
