1. No Build Server
  2. Nightly Builds
  3. Nightly Builds and Basic Automated Tests
  4. Enter the Metrics
  5. More Serious About Testing
  6. Acceptance Tests and Automated Deployment
  7. Continuous Deployment
This broadly matches our experience. As well as the unit tests I think I mentioned, in our nightlies we farm out a Windows VM and run a load of Javascript tests. The results are passed back to the main server and integrated into the reporting. As well as the post deployment stats stuff, we have also in the past run QuickTestPro scripts from within Jenkins. (We're not currently doing that because we've switched to HP Test Centre nonsense or something.) The stuff we're doing now around the QA builds starts is very continuous deploymenty-deliveryish. I doubt we'll ever deploy to live from Jenkins, but the stuff we're deploying is created by Jenkins and untouched by human hand.

We wouldn't have been able to achieve a lot of this without writing our own plugins. The publically available plugins must, by necessity address general concerns. One SVN repository looks much like another, for instance. You can generalise the form of an Ant or make invocation. But, the details around our release procedure, or hooking into our Jira installation? That's not a flier. You have to write your own thing.

Plugins do one thing - they remember. They remember how to do something (like how to release) or they remember that you've done something (like run some tests). The more you can get Jenkins to remember, the more useful it will be for you.

So, how do you write a plugin?

Brace yourselves.