Search for the use of hetero-list, one example at [1]

In short, to use hetero-list you implements your own Descriptor extension
point and extend that with Descriptor/Describable pairs same as how build
steps and parameters are made.
The config.jelly for the Describable is the form snippet that shows up when
you have selected what to add from the list.

/B


[1]
https://github.com/jenkinsci/gerrit-trigger-plugin/blob/master/src/main/resources/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTrigger/config.jelly#L197
https://github.com/jenkinsci/gerrit-trigger-plugin/blob/master/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/events/PluginGerritEvent.java

On Mon, May 23, 2016 at 6:57 PM, Shurik <[email protected]> wrote:

> Hi,
>
> I try to create new build step plugin.
> In the GUI ( jelly ) I want to create the"Add" buton with drop down list.
> Like we have in parameter job that we have a option to add diff parameter
> types ( String, choose, ...)
>
> Can you please advise how to do it in jelly and what I need implement in
> java code?
>
> Where I can find documentation for it?
>
> Thanks,
> Shurik
>
> --
> 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/0f103d2c-9866-4ff4-85c9-826f55a631ba%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/0f103d2c-9866-4ff4-85c9-826f55a631ba%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/CALzHZS0qVugwgfy6kXfY84uhjwzUQJf3WtPNyrQ28Fu_OjW-ZQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to