Working with GitHub

Version 3 by Robin Shen
on Nov 20, 2013 02:50.


compared with
Version 4 by Robin Shen
on Nov 20, 2013 03:25.


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.

 QuickBuild integrates with GitHub via the GitHub repository. This repository has all features of a normal [Git repository|Working with Git], but add the ability to build against pull requests, and update pull request status based on build result.
  
  h2. Build
  h2. Build against pull requests
  
 To build against GitHub pull requests, define a GitHub repository like below:
 !repository.png!
  
 In repository definition, you may select to build against open, closed, or specified pull requests, and choose to build head, merge, or both of selected build requests like below:
 !pull_requests.png!
 Here _head_ branch of pull request points to tip commit of the pull request, while _merge_ points to merged commit of head commit and tip commit of target branch of the pull request. After defining the Git repository, you should add a checkout step to check it out into the workspace, and add necessary build steps to build against checked out contents. QuickBuild will fire separate build for each pull request necessary to be built, so it is best practice to enable concurrent builds of the configuration.