Integrating QuickBuild with Bugzilla
Since QuickBuild 3, QuickBuild can integrate with Bugzilla, it features:
- Hyperlink the issue ids mentioned in commit message
- Generate an issues report from commit messages
- Create an issue to Bugzilla based on step condition
Configure Bugzilla
To enable the integration, you need configure Bugzilla setting first. Go to configuration settings and select Bugzilla Server to define, and then below screen will be displayed:
Below lists the descriptions of these properties:
Property | Description |
---|---|
Server URL | The URL of Bugzilla server. http:// or https:// is needed here. |
User Name | The user name which will be used to retrieve the issues information from Bugzilla server. |
Password | The password for the user. |
Issue Pattern | Uses Java regular expression to match the issue ids from commit messages. By default, below pattern will match #123 or bug:123. ```java (?<!:)(?:# |
After you configured, all issues mentioned in commit messages will by hyperlinked:
and an issues report will be shown in Issues tab:
Create issue to Bugzilla
To create an issue to Bugzilla, Create Bugzilla Issue step should be added to your build workflow. You may use this step to track your build status in Bugzilla.
Trouble shooting
If QuickBuild complains XmlRpcException, please make sure you have installed SOAP module like below:
$ perl -MCPAN -e 'install "SOAP::Lite"'