Home
Perforce Hudson Plugin
Hudson

Perforce Hudson Plugin

These days finding a Continuous Integration build system that just works without days and days of setup and configuration is really rare. For many people, the barrier to entry of CI is complex build tools that are difficult to understand and difficult to implement.  Yet, these are the very tools that are supposed to enable CI.  That's why it was surprising to find a CI system that was both easy to setup and easy to use.  Hudson is an extensible build system that while fairly young, is really very powerful.

Hudson Status Screen

There is no database to setup and no complex configuration to worry about.  It just works right out of the box.

While Hudson has a ton of features, with more added every week, there was one issue.  Hudson did not have integration with Perforce SCM.  Rather than give up all the Hudson goodness, we decided to offer our own plugin for Hudson that provides the Perforce integration.

We have made this plugin available under the same license as Hudson, the MIT License. Support is available directly through us at or via the Hudson mailing list: users@hudson.dev.java.net

1. Download Hudson

You can find Hudson at: http://hudson.dev.java.net

2. Download Perforce Plugin

You can find the plugin at Hudson downloads. Or you can directly download the plugin from here.

3. Configure Perforce Plugin

You can learn how to configure the plugin at the Hudson wiki.

Perforce Polling Log

Polling your Perforce server to trigger new builds

The plugin enables periodically polling of your repository.  The plugin determines if any new changes have been made since the last polling run.  If there are new changes, the plugin retrieves them and performs a new build.  Using Hudson's cron trigger, you can configure any polling interval that suites your needs.

Perforce Polling Log

View your changelists for each build

The plugin records all changes that are included in a build. The changes are shown in a summary view at both the project level and the build level.

Perforce Polling Log

Detailed Perforce Changelists

When viewing the details of the changelist, all Perforce specific details are viewable. Things like file action and job details are included.

Perforce Polling Log

Support for P4Web and FishEye repository browsing

The plugin integrates with the Perforce provided web viewer, P4Web. The integration utilizes P4Web to view individual file history and file differences from change to change. FishEye is also supported.

Perforce Polling Log

Leverage Perforce Labels to Label your builds

When a new build occurs in Hudson, the plugin allows you to use Perforce's Label feature to label the build with your own name and description. Your developers can sync to that label at a later date for testing or deployment.

Image Viewer