开发者

Add item to Jenkins sidepanel

开发者 https://www.devze.com 2023-03-14 07:47 出处:网络
I\'m developing a Jenkins plugin where I\'m trying to add a link with an icon to the sidepanel under Manage Jenkins->Manage Nodes. My link would be placed just below \"New Node\".

I'm developing a Jenkins plugin where I'm trying to add a link with an icon to the sidepanel under Manage Jenkins->Manage Nodes. My link would be placed just below "New Node".

I've implemented a simple Action, but what should I do with it to make it appear in the sidepanel?

public class BuildCountAction implements Action {

    public BuildCountAction() {}

    public String getIconFileName() {
        return "clipboard.gif";
    }

    pu开发者_如何学编程blic String getDisplayName() {
        return "Test";
    }

    public String getUrlName() {
        return "testurl";
    }
}


You may want to take a look at similar plugins that already exist for Hudson/Jenkins..

  • Hudson Sidebar Plugin

  • Jenkins Sidebar Plugin

0

精彩评论

暂无评论...
验证码 换一张
取 消