Integrate QuickBuild with GitHub Issue

Version 2 by Steve Luo
on Nov 21, 2013 06:00.


compared with
Current by Steve Luo
on Nov 21, 2013 06:04.


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

View page history


There are 3 changes. View first change.

 Since QuickBuild 5.1.0, QuickBuild integrates with GitHub by featuring:
 * 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 GitHub Issue Tracker
  
 Go to configuration settings and select GitHub server to define, and then below screen will be displayed:
 !github-setting.png!
  !github-settings.png!
  
 Below lists the descriptions of these properties:
  ||Property||Description||
  |Server URL|The URL of GitHub server.|
  |User Name|The user name which will be used to retrieve the issues information from GitHub 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!
  !github-on-overview.png!
  
 and an issues report will be shown in Issues tab:
 !issues-report.png!
  !github-issue-report.png!
  
 h3. Create issue to GitHub
 To create an issue to GitHub, _Create GitHub Issue_ step should be added to your build workflow. You may use this step to track your build status in GitHub.