Meme Generator Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID memegen Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
Dependencies
0.4.3
Aug 18, 2012
1.428
Source Code
Issue Tracking
Maintainer(s)
GitHub
Open Issues
Jon Cairns (id: joonty)
Usage Installations 2013-Apr 148
2013-May 158
2013-Jun 157
2013-Jul 161
2013-Aug 167
2013-Sep 156
2013-Oct 194
2013-Nov 175
2013-Dec 168
2014-Jan 185
2014-Feb 180
2014-Mar 184

Generate Meme images when a build fails (and returns to stable), and post them on the project page.

Basically, the plugin will create something like this:

And then put it in the build and project description for everyone to enjoy. You can even choose your own memes and add custom text, and have it generate them on a failed build, a return to success or just all the time! You configure a different set of memes for failed and successful builds, and a random image is picked each time (well, as random as Java's Random() will allow).

Installation

By far the easiest way to install it is to get it from the Jenkins update center.

However, if you're feeling cheeky, get it from the github repository. You can then either copy it to /var/lib/hudson/plugins/ on your Jenkins/Hudson server or upload it using the advanced tab of the plugin manager - you will need to give Jenkins a restart to activate the plugin.

Configuration

Go to the system configuration page (Manage Jenkins -> Configure System), and scroll down to "Global Meme Settings". A memegenerator.net username and password is required, but signing up is free. These are the only essential configuration options, and the rest are for configuring possible meme images - see below under the heading "Meme configuration".

Finally, the meme generator needs to be enabled for each project that you want them. Go to a project configuration page, scroll down to "Meme generator" and tick the box. You will then see three options, which will determine when memes are created:

  • Generate when a build fails
  • Generate when a build succeeds and the previous failed
  • Generate for every build (regardless of status)

As long as there are configured memes and one of the three above options are selected, a meme will be generated and posted on the project and build description.

Meme configuration

On the system configuration page you can manage the Memes that are generated after both successful and failed builds. This involves choosing the image and entering the text that will appear at the top and bottom of the image. You can also use template variables, which look like ${this}. The possible variables are:

  • ${project} - The project display name
  • ${build} - The build display name (this will be something like "#33")
  • ${user} - The user(s) string of the people who contributed between this build and the previous one
  • ${day} - The current day (e.g. "Monday")

This means that you can put in a string like "Oh no, you broke ${project}", and this will be filled in with the project name during generation.

Enjoy, and happy meme-ing!

Change Log

   V0.4.3 @ 08-18-2012

  • Added global option that allows you to toggle whether the meme image is shown in the build description (that appears on the left on the main project page) or not

   V0.4.2 @ 07-25-2012

  • Fixed bug that caused a build break if it's the first build, Meme generation is enabled and it succeeds

   V0.4.0 @ 05-17-2012

  • Fixed pretty huge bug where meme configurations including template variables were being overwritten
  • Removed some extraneous debug to the log

   V0.3.2 @ 03-23-2012

  • First public release

Author

Jon Cairns - http://joncairns.com

Labels

Edit
plugin plugin Delete
plugin-misc plugin-misc Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.