brew/docs/Brew-Test-Bot.md
Mike McQuaid eef4c18011
docs: add logos.
Add the BrewTestBot and Linuxbrew logos to the relevant pages.
2019-03-23 13:14:31 +00:00

61 lines
1.7 KiB
Markdown

---
title: Brew Test Bot
logo: https://brew.sh/assets/img/brewtestbot.png
image: https://brew.sh/assets/img/brewtestbot.png
---
`brew test-bot` is the name for the automated review and testing system funded
by [our Kickstarter in 2013](https://www.kickstarter.com/projects/homebrew/brew-test-bot).
It comprises four Mac Minis and three Xserves running in two data centres which host
[a Jenkins instance at https://jenkins.brew.sh](https://jenkins.brew.sh) and run the
[`brew-test-bot.rb`](https://github.com/Homebrew/homebrew-test-bot/blob/master/cmd/brew-test-bot.rb)
Ruby script to perform automated testing of commits to the master branch, pull
requests and custom builds requested by maintainers.
## Pull Requests
The bot automatically builds pull requests and updates their status depending
on the result of the job.
For example, a job which has been queued but not yet completed will have a
section in the pull request that looks like this:
![Triggered Pull Request](assets/img/docs/brew-test-bot-triggered-pr.png)
---
A failed build looks like this:
![Failed Pull Request](assets/img/docs/brew-test-bot-failed-pr.png)
---
A passed build looks like this:
![Passed Pull Request](assets/img/docs/brew-test-bot-passed-pr.png)
---
On failed or passed builds you can click the "Details" link to view the result
in Jenkins.
A passed build looks like this:
![Passed Jenkins Build](assets/img/docs/brew-test-bot-passed-jenkins.png)
---
A failed build looks like this:
![Failed Jenkins Build](assets/img/docs/brew-test-bot-failed-jenkins.png)
---
You can click the test results link
(e.g. `brew-test-bot.el_capitan.install openssl`) to
view the failed test output:
![Failed Test](assets/img/docs/brew-test-bot-failed-test.png)
---