Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 690
Kamal Avatar asked Feb 14 '12 00:02

Kamal


People also ask

Where is Jenkins build history stored?

$JENKINS_HOME is where all Jenkins-based installations store configuration, build logs, and artifacts.


2 Answers

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.

like image 121
Kamal Avatar answered Oct 10 '22 10:10

Kamal


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.

like image 41
malenkiy_scot Avatar answered Oct 10 '22 09:10

malenkiy_scot