5
votes

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

2
did you write a build history plugin? if so perhaps you could post a link I need someway to manage/filter the displaying of the build history.eklektek

2 Answers

8
votes

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.

2
votes

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.