{jenkins-plugin-info:reviewboard}

This plugin connects to Reviewboard to create and update Review Requests. Reviewboard is a tool for conducting code reviews and this plugin will allow you to link your SCM updates, when they are pulled for a Jenkins build, to Reviewboard. Note that currently, only the Perforce SCM is supported.

Features

Known Issues

Changelog

Version 1.0.1 (Feb 17, 2011)

Version 1.0 (May 4, 2010)

Perforce and post-review configuration

Usage

When you install this plugin, your Jenkins configuration page gets additional "Review Board Publisher" option.

In addition, each project should add a "Post-build Actions"> "Review Board Publisher" configuration:

Command Override Flags

These are command flags that can be added to a SCM change description that this plugin will detect and act upon depending upon how the build is configured to handle these flags.

post-review Installation

post-review is the companion command-line tool to post review requests to our (test) ReviewBoard server. Below are the installation steps for Windows and Mac machines

Mac OS X / Linux

  1. Install the RBTools package
    $ easy_install -U RBTools

Windows

  1. Install Python
    1. Download and install Python 2.6.5 (MSI Installer) for Windows
  2. Install SetupTools
    1. Download the Windows Installer at:
      http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11.win32-py2.6.exe#md5=1509752c3c2e64b5d0f9589aafe053dc
    2. Install into Python "Scripts" directory (should do this automatically)
    3. Add the "Scripts" directory to your Path environment variable (so you can execute easy_install and post-review from anywhere)
  3. Install RBTools (to nightly build)
    1. Run the command
      easy_install -f http://downloads.reviewboard.org/nightlies/ -U RBTools
  4. Install DiffUtils for Windows (SETUP link for Complete Package, except sources)
    1. http://gnuwin32.sourceforge.net/packages/diffutils.htm
    2. Add the following path to the system's PATH environment variable: C:\Program Files\GnuWin32\bin

Updating RBTools

RBTools is the package of tools that post-review is a part of. When this tool set is updated to a new stable build, it is usually advantageous to update your version as well. To do this, simply run the following command in at your command-line:

easy_install -U RBTools

After running the command, you should see output similar to:

Searching for RBTools
Reading http://downloads.reviewboard.org/nightlies/
Reading http://pypi.python.org/simple/RBTools/
Reading http://www.review-board.org/
Reading http://downloads.review-board.org/releases/RBTools/0.2/
Reading http://downloads.review-board.org/releases/
Best match: RBTools 0.2
Downloading http://downloads.reviewboard.org/releases/RBTools/0.2/RBTools-0.2-py2.6.egg
Processing RBTools-0.2-py2.6.egg
Moving RBTools-0.2-py2.6.egg to /Library/Python/2.6/site-packages
Removing RBTools 0.2rc2.dev-20100322 from easy-install.pth file
Adding RBTools 0.2 to easy-install.pth file
Installing post-review script to /usr/local/bin