How to add a page to Jenkins?

I want to write a jenkins plugin that allows me to add a new link that links to a new page of my creation. I figured out how to create a new link by extending RootAction and I can get it to link to a static resource in the webapp directory. However my problem is many. I think I need to use a jelly page due to the nature of the action I want to do on this new page, and even if I could do what I wanted with static web content, this link pushes me out of the jenkins frontend to a page containing just my static web content.

What I need to know is how are you going to create a new page? I've searched JavaDoc looking for interface and internet for more documentation on how to write plugins. But there seems to be a lack of information on the internet about Jenkins plugin development.

What I want to do is be able to click my new link and force it to go to my new page, still with all Jenkins navigation and so on, and on this new page, I will have a form to do some action on the files.

Any help or pointers to documentation I haven't found would be greatly appreciated.

+3


source to share





All Articles