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
$JENKINS_HOME is where all Jenkins-based installations store configuration, build logs, and artifacts.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With