Which extension point / Descriptor to start from

44 views
Skip to first unread message

Daniil B

unread,
Jun 30, 2015, 10:14:52 AM6/30/15
to jenkin...@googlegroups.com
Hello *

I'm just getting started with developing Jenkins plugins and have successfully developed one already. The first plugin was a ListViewColumn plugin since there were plenty of examples on the web. But now I'm looking to devlop another plugin concerning the main jenkins page.

Now I would like to create a simple button at the page where all the jobs are displayed (for every view tab of course) and I was wondering what kind of extension point should I use and which *.jelly files are relative to me? It was kind of straight forward when writing the ListViewColumn plugin but now I've hit a brick wall. I can't find good informaiton about which descriptors to use or relevant extension points without browsing trought published plugins and finding similar functionality. column.jelly, columnHeader.jelly and config.jelly was relevant before but now I do not know what jelly files enables me to modfiy the main page (outside the table of all jobs). Anyone who has an easy-to-copy example to get started?

Regarding the second plugin; Upon clicking the button, I want to be able to access all the jobs in the current list view and be able to enable/disable jobs depending on parameters of my previous plugin. All of this instead of manually going into each job config page and disabling them one by one.


Thanks for the help!
// Bogge

Oleg Nenashev

unread,
Jul 5, 2015, 6:11:32 AM7/5/15
to jenkin...@googlegroups.com
Do you consider using the side panel? It would be much easier than integrating into views.
In such case you could use the RootAction extension point.

The functionality could be useful together with Dynamic Search View plugin. On the other hand, it's better to use https://wiki.jenkins-ci.org/display/JENKINS/Configuration+Slicing+Plugin for such bulk changes (IMHO).  

вторник, 30 июня 2015 г., 17:14:52 UTC+3 пользователь Daniil B написал:

Daniil B

unread,
Jul 7, 2015, 7:35:18 AM7/7/15
to jenkin...@googlegroups.com
Thanks for the reply Oleg!

Yes I am considering it now. I've made my own RootAction but need to connect this item menu to the jobs in the current view. I will search around more and try to find similiar plugins which does this. Do you have any tips? Configuration Slicing Plugin has kinda the functionality I'm looking for but it's quite complex in it's source code to fully grasp and understand, atleast for me..

// Bogge
Reply all
Reply to author
Forward
0 new messages