Git Changelog Jenkins Plugin Released

As announced earlier, the first public version of the Git Changelog Plugin for Jenkins is now released and available via Jenkins' offical update site. I got some inspiration from Oleg Nenashev on Jenkins' mailing list, so I restructured the library and the plugin so that the Jira filter is just one possible output format of the changelog. The key feature of the plugin is the automatic search of the latest tag and the changelog generation. For now, there are only two output formats defined: a simple, human readable git history…

Keep reading

Load testing a new environment replaying live logs using chronicreplay

While creating a proof of concept of a new, cloud based environment of a big news platform, we used chronicreplay to test the behaviour of the new environment under a realistic load, similar to the productive system. chronicreplay replays Apache (or any other) log files in the correct time and order, see chronicreplay's README for more information. As we had the time of the request in the original Apache log files, we were able to plot and analyze the time differences. The peaks in this graph are caused by Java's…

Keep reading

Solr 4 packaged with logging libraries

The Solr 4 web archive (war) does not ship with logging libraries any more. So everyone who want to deploy it into a container have to either include the logging libraries in the classpath of the container or repackage the solr with the logging libraries. I assume there are hundreds of repackaged solr 4 packages around the world. I discovered an approach on github of https://github.com/finn-no, but they are including some custom libraries in the package as well, so it is not usable by others. I forked…

Keep reading

git-jira-log 1.0 released

A while ago I finished version 1.0 of my library to extract a changelog in form of a Jira filter based on ticket names in the git log of the project. This library can be used as command line utility as well as library. The git part is based on JGit. I wrote about it here already. A first version of a plugin for Jenkins is ready, too, documentation and examples are expected soon.…

Keep reading

Changelog with GIT and JIRA: Creating JIRA filter URL based on git commits between two revisions with bash

I am working on a library and a jenkins plugin doing this right, but until then, here is a shell script which creates the URL to a JIRA filter containing the tickets mentioned in all commit messages between the two given revisions. Besides git and the standard command line tools (grep, sed, tr, egrep, sort, uniq) it needs gawk installed on your system. Unfortunately I didn't manage to get the variables replaces within gawk's gensub function. If you know how, drop me a line. As a workaround I am sure…

Keep reading