Hi,
all you have to do is to add
implements RootAction 
to your class (which is also marked by @Extension annotation) and implement
public String getUrlName() method with returns correct URL of the page you 
want to display.
HTH
Vojta

On Friday 20 April 2012 03:21:34 MaxiTrompe wrote:

Hello, 

I am developing a plugin for Jenkins that consists in adding a link to 
the left sidebar of the main page and displaying information on a new 
page when this one is selected. 

To start my plugin, I took the Sidebar-Link Plugin (https:// 
wiki.jenkins-ci.org/display/JENKINS/Sidebar-Link+Plugin), which adds 
links on the left side of the main page. My problem is that this 
plugin only adds new links, but do not redirect to a new page. 

I have found another plugin, Log Parser Plugin (https://wiki.jenkins- 
ci.org/display/JENKINS/Log+Parser+Plugin), that I know creates new 
pages. Unfortunately, the Log Parser Plugin is too complicated and I 
did not find an anwser by examining it. 

I have looked for such anwsers on the internet but there aren't much 
information that helps. 

If someone has any ideas of doing such, I would very much appreciate a 
little help. 

Thank you in advance 

Bonjour, 

Je développe un plugin pour Jenkins qui consiste à ajouter un lien vers 
la barre latérale gauche de la page principale et l'affichage d'informations 
sur 
une nouvelle 
page lorsque celui-ci est choisi. 

Pour commencer mon plugin, j'ai pris le Plugin Sidebar-Link (https:// 
wiki.jenkins-ci.org/display/JENKINS/Sidebar-Link + Plugin), qui ajoute 
liens sur le côté gauche de la page d'accueil. Mon problème est que cette 
plugin ajoute que de nouveaux liens, mais ne redirige pas vers une nouvelle 
page. 

J'ai trouvé un autre plugin, identifiez-vous Plugin Parser 
(https://wiki.jenkins- 
ci.org / affichage / JENKINS / Connexion + Parser Plugin +), ce que je sais 
crée 
une nouvelle 
pages. Malheureusement, le plug-in Log Parser est trop compliqué et je 
n'a pas trouvé d'anwser en l'examinant. 

J'ai regardé pour anwsers ces sur l'internet, mais il n'y a pas beaucoup 
l'information qui aide. 

Si quelqu'un a des idées de faire une telle, je serais très reconnaissant une 
peu d'aide. 

Merci d'avance 




Reply via email to