I am trying to find/develop a plugin that will parse a set of build logs created by a build. We are in the process of transitioning to Jenkins from an old proprietary build system that builds using a complex set of build scripts that run multi-threded builds that pipe output to separate files for separate commands. I have read a lot of docs on Jenkins/plugins/java/jelly and have made up a couple simple plugins.
I found the "log parsing plugin" (
https://wiki.jenkins-ci.org/display/JENKINS/Log+Parser+Plugin) for Jenkins and while it seems very useful for builds that run a set of commands in series that send their output to the console I need to be able to present a link to my users (similar to the way this plugin adds one for parsed console output) on the build web page that will take them to a page from which they can select the log they want.
I have done most of my coding in PERL and so the Jelly/Java/Javascript stuff in Jenkins is all new to me, as well as the general architecture for how Jenkins interfaces with plugins and the index.jelly files.
I have read a lot of documentation on Jenkins plugins but all of it seems to be pretty high level and low detail. I have made a couple of my own and gotten them to do some simple stuff; but what I really need to know is how to add a new link to the page for any/every build (same place as the current "console output" link) that will take my user to a page where they can see log files for the associated build.
I can probably figure out the logic for parsing and presenting those logs to the users myself. I am just banging my head against the whole Jenkins architecture. The code for the Log Parser Plugin seem like a good enough place to start but it is pretty involved and I am trying to learn Java while I figure out how it works. And there does not seem to be any documentation on it's architecture (Log Parser Plugin architecture, not Jenkins. I have read some of that.).
Kind of a rambling post I know. I suppose I really just need some sort of a tutorial on how links are generated for pages using the jelly files. I got the Jenkins O'Reilly book and it has some useful information but I haven't found much on plugin development in it.
Thanks in advance.