/build-window

Information radiator for the health of your CI builds

Primary LanguageJavaScriptMIT LicenseMIT

Build Window

Build Status GitHub license

Dashboard built using Dashing. Currently supports Jenkins, Travis, TeamCity, Bamboo and Go.

Example

Alt text

Getting started

Run bundle install.

Edit config/builds.json with the configuration for your builds:

{
  "bambooBaseUrl": "https://ci.openmrs.org",
  "teamCityBaseUrl": "https://teamcity.jetbrains.com",
  "goBaseUrl":"https://build.go.cd",
  "jenkinsBaseUrl": "https://builds.apache.org",
  "builds": [
    {"id": "sinatra/sinatra", "server": "Travis"},
    {"id": "IntelliJIdeaCe_CommunityTestsLinuxJava8", "server": "TeamCity"},
    {"id": "Lucene-Solr-Maven-5.4", "server": "Jenkins"},
    {"id": "BB-BDB", "server": "Bamboo"},
    {"id": "build-linux", "server": "Go"}
  ]
}

Place your API credentials in a .env file at the root of the project. (Please note that authentication is currently only supported for Go CD.) Example:

GO_USER=view
GO_PASSWORD=password

Run dashing start.

Runs at http://localhost:3030/builds by default.

Run dashing start -d -p 3031 to run it as a daemon and to specify the port. You can stop the daemon with dashing stop.

See https://github.com/Shopify/dashing/wiki for more details.

Docker support

You can spin up a Docker container with build-window by running:

docker-compose up -d

The application will be ready at http://localhost:3030 (Linux) or at http://<DOCKER_HOST_IP>:3030 (Windows/OS X).

You can also build the image and run a container separately, but Docker Compose makes this process much simpler.

Contributing

Pull requests welcome. Run the tests with rspec.

Contributions

Thanks to Max Lincoln (@maxlinc) for coming up with the name Build Window.