Integrating QuickBuild with Bugzilla

Version 2 by Steve Luo
on Jun 10, 2010 19:05.


compared with
Current by Steve Luo
on Aug 28, 2010 05:44.


 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 1 changes. View first change.

 Since QuickBuild 3, QuickBuild can integrate with Bugzilla, it features:
  * Hyperlink the issue ids found in commit message
 *
  * Hyperlink the issue ids mentioned in commit message
 * Generate an issues report from commit messages
 * Create an issue to Bugzilla based on step condition
  
 h3. 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:
 !bugzilla-setting.png!
  
 Below lists the descriptions of these properties:
  ||Property||Description||
  |Server URL|The URL of Bugzilla server. {html}http:// or https://{html} 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|http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/Pattern.html] to match the issue ids from commit messages. By default, below pattern will match #123 or bug:123.
  {code}
  (?<!\:)(?:#|bug:)\d+
  {code}
  |
  
 After you configured, all issues mentioned in commit messages will by hyperlinked:
 !issues-on-overview.png!
  
 and an issues report will be shown in Issues tab:
 !issues-report.png!
  
 h3. 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.