|
This plugin integrates Hudson to Gerrit code review for triggering builds when a "patch set" is created.
Plugin Information
ConfigurationAdministrative SettingsSpecify the Gerrit server settings via "Manage Hudson > Gerrit Hudson Trigger" Fill in the server settings:
Click "Test Connection" to verify the connection. When everything seems ok, save your settings and restart the connection in the "Control" section at the bottom of the page:
There are many more settings for your pleasure, look at the individual help sections for information what they are about. Trigger ConfigurationIn the "Build Triggers" section of your Job configuration page; tick "Gerrit event":
Specify what Gerrit project(s) to trigger a build on. At least one project and branch pattern needs to be specified for a build to be triggered,and you can specify as many gerrit project to trigger on as you want. Start by specifying the name of the Gerrit project in the left hand text field.
Then provide the name of the branch(es) to trigger on. The same "pattern types" is available as above. Usage with the Git PluginTo get the Git Plugin to download your change; set Refspec to $GERRIT_REFSPEC and the Choosing strategy to Gerrit Hudson Trigger.
Usage with RepoIf you are using a freestyle project and repo to download your code it would be as "easy" as. repo init -u git://gerrit.mycompany.net/mymanifest.git
repo sync
repo download $GERRIT_PROJECT $GERRIT_CHANGE_NUMBER/$GERRIT_PATCHSET_NUMBER
Additional ScreenshotsChange LogVersion 2.1.0 (released July 26, 2010)New Feature
Bugs fixed
Version 2.0 (released July 5, 2010)
|



