Kamal
Kamal

Reputation: 325

Jenkins customize build history view

I would like to build a jenkins plugin which should customize the Build History view. I want to add a link to each successful job in the build history and perform some action. I also want to know how to access the SCM information for that build run from the plugin.

Can you help me with code snippet or any help? Thanks

Upvotes: 5

Views: 21908

Answers (2)

Kamal
Kamal

Reputation: 325

There is a way to customize the Build History View by implementing BuildBadgeAction interface of Jenkins.

Groovy Postbuild Plugin implements and extends the build history view.

Upvotes: 8

malenkiy_scot
malenkiy_scot

Reputation: 16615

If you really want to write a Jenkins plugin, here is a link to a previous answer that addresses it. Start working on your plugin and then you'll be able to ask more specific questions relating to concrete problems you face. I think that in the present form your question is too vague.

Make sure, however, that writing a plugin is not an overkill for your needs. Chances are that you may be able to do what you need by the 'usual' means. But then again in order to be helped you need to be more specific.

Upvotes: 2

Related Questions