Persona Plugin

Plugin Information

Plugin ID persona
Latest Release 1.1
Latest Release Date Oct 19, 2010
Sources Subversion
Support Eclipse Hudson Forum
Issue Tracking Eclipse Bugzilla

This plugin lets you define custom personalities like Chuck Norris or Bruce Schneier just by preparing an XML file and a few image files. In this way, you can quickly define your CEO in Hudson and earn some brownie points.

How to define a persona

By default, this plugin doesn't ship with any particular persona, so you need to define one before you use. To define a new persona, place your files in the following directory structure:

$HUDSON_HOME
+- persona
   +- BruceLee
   |  +- persona.xml
   |  +- success.jpg/.png/.gif
   |  +- failure.jpg/.png/.gif
   |  +- other.jpg/.png/.gif
   |  +- icon.jpg/.png/.gif
   +- AnotherPersona
      +- ... same set of files ...

The image files can be of any image type. The 'success' file is used as a background image for successful builds, the 'failure' file for failed builds, and the 'other' file is used for all the other kinds of builds (such as unstable, aborted, etc.) The icon file should be 16x16, and is used as a small icon placed in front of a quote.

These files can be placed anywhere under $HUDSON_HOME/persona, so long as they are side by side to each other.

The format of the persona.xml file is as follows:

<persona id='djb' displayName='Daniel J. Bernstein'>
  <quote>Just because it's automatic doesn't mean it works.</quote>
  <quote>Be careful what you wish for you just might get it.</quote>
  <quote>I do engineering, not religion.</quote>
  ...
</persona>

Reloading persona without restarting Hudson

Send an HTTP request to http://yourserver/hudson/reload-persona/ to have Hudson reload your persona on the fly. This is useful when you manually added new ones or new quotes to existing ones.

Packaging your persona as a plugin

Create a plugin with your persona.xml and other image files in the top of the .hpi file. This allows you to easily share your persona with the Hudson community.

Changelog

Version 1.1 (Oct 19, 2010)

  • Fixed a path handling problem on Windows
  • Removing a persona shouldn't result in a failure to load a job that uses it
  • Added an URL to reload persona on the fly without restarting Hudson

Version 1.0 (Oct 17, 2010)

  • First version

Labels:

plugin-misc plugin-misc Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
  1. Oct 20, 2010

    Asgeir S. Nilsen says:

    Might I suggest you increase the icon size to 48x48? That seems to be the more ...

    Might I suggest you increase the icon size to 48x48? That seems to be the more "standard" size used for other icons on the build result page?

  2. Feb 01, 2012

    javamentas says:

    Compatible with Hudson 2.1.2? Here it did not work.

    Compatible with Hudson 2.1.2? Here it did not work.