开发者

Add item to Jenkins sidepanel

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜