Adding to the Advanced Project Options for all Projects

19 views
Skip to first unread message

Brian McQueen

unread,
May 16, 2016, 1:36:08 PM5/16/16
to Jenkins Developers
What extension point would I use to get into there?  A describeable is needed.  AbstractProject looks close, but its not Describeable.  Any tips or example plugins I can have a look at?

Daniel Beck

unread,
May 16, 2016, 3:56:17 PM5/16/16
to jenkin...@googlegroups.com

> On 16.05.2016, at 19:36, Brian McQueen <mcquee...@gmail.com> wrote:
>
> What extension point would I use to get into there?

Congratulations, you found something in Jenkins that's not actually extensible.

https://github.com/jenkinsci/jenkins/blob/c8d2f9036a10bb1f901fd0ceee66a909c7056658/core/src/main/resources/hudson/model/AbstractProject/configure-common.jelly#L51...L61

I also doubt we'd want to support that -- this section of the config page was already almost going away in the config form redesign for 2.0.

To add options just above it, use JobProperty.

Brian McQueen

unread,
May 18, 2016, 3:25:06 PM5/18/16
to Jenkins Developers, m...@beckweb.net
Good to know! I was looking much too hard to make that happen.
Reply all
Reply to author
Forward
0 new messages