| 1 | The Jenkins continuous integration environment at http://djangoci.com is setup to build pull requests. |
| 2 | |
| 3 | == Commands == |
| 4 | |
| 5 | Whitelisted users can comment "buildbot, test this please." on a a pull request to trigger a build. |
| 6 | |
| 7 | Admins can comment, "buildbot, add to whitelist." to add a user to the trusted list. Whitelisted users will have their pull requests built automatically. Builds are triggered for new pull requests and when a pull request is updated. |
| 8 | |
| 9 | == Troubleshooting == |
| 10 | |
| 11 | If: |
| 12 | |
| 13 | 1. you force push to a branch after the initial build starts or |
| 14 | 2. a commit is pushed to master after the initial build starts |
| 15 | |
| 16 | You will see an error like `git checkout <hash> where hash was not the commit`. Currently the only solution is to retrigger the build. There is a [https://github.com/janinko/ghprb/issues/116 ticket] for the issue in GitHub Pull Request Builder. |