Questions tagged [buildbot]

Buildbot is an open-source framework for automating software build, test, and release processes.

Buildbot supports distributed, parallel execution of jobs across multiple platforms, flexible integration with version-control systems, extensive status reporting, and more.

At its core, Buildbot is a job scheduling system: it queues jobs, executes the jobs when the required resources are available, and reports the results.

A Buildbot installation has one or more masters and a collection of slaves. The masters monitor source-code repositories for changes, coordinate the activities of the slaves, and report results to users and developers. Slaves run on a variety of operating systems.

You configure Buildbot by providing a Python configuration script to the master. This script can be very simple, configuring built-in components, but the full expressive power of Python is available. This allows dynamic generation of configuration, customized components, and anything else you can devise.

The framework itself is implemented in Twisted Python, and compatible with all major operating systems.

http://buildbot.net/

319 questions
114
votes
14 answers

"Pretty" Continuous Integration for Python

This is a slightly.. vain question, but BuildBot's output isn't particularly nice to look at.. For example, compared to.. phpUnderControl Jenkins Hudson CruiseControl.rb ..and others, BuildBot looks rather.. archaic I'm currently playing with…
dbr
  • 165,801
  • 69
  • 278
  • 343
77
votes
5 answers

buildbot vs hudson/jenkins for C++ continuous integration

I'm currently using jenkins/hudson for continuous integration a large mostly C++ project. We have separate projects for trunk and every branch. Also, there are some related projects for the Java code, but the setup for those are fairly basic right…
deuberger
  • 3,578
  • 6
  • 31
  • 33
22
votes
1 answer

rename a build in buildbot

Is there a way to rename a build in buildbot without losing all of the logs? For instance I have several windows slaves which all might build: "Windows 2008+ DEBUG" but I want to rename this build to: "Windows 2008R2+ DEBUG". How do I set…
Randall Hunt
  • 12,132
  • 6
  • 32
  • 42
15
votes
1 answer

Docker compose orphan containers when overriding services

I want to have two docker-compose files, where one overrides another. (The motivation comes from Docker Compose Docs) The use case comes from the buildbot environment. The first docker-compose file should define a simple service. This is a service…
utom
  • 482
  • 1
  • 3
  • 15
13
votes
2 answers

How to scale buildbot in a company

I've been looking into buildbot lately, and the lack of good documentation and sample configurations makes it hard to understand how buildbot is commonly used. According to the buildbot manual, each buildmaster is responsible for 1 code base. That…
abyx
  • 69,862
  • 18
  • 95
  • 117
12
votes
4 answers

Support for multiple repositories using Buildbot

Currently Buildbot does not support multiple repositories. If one desires to have this then separate instances of Buildbot need to be run. Still I'm curious if anyone has come up with a creative workaround to get this feature working anyway.
Kiffin
  • 1,048
  • 1
  • 15
  • 21
11
votes
6 answers

How can you "source" an environment inside a Buildbot step?

Within Buildbot I need to be able to "source" an environment before doing a compilation step. If I was building the application from command line using bash I would have to do: . envrionment-set-up-script build_command Within the build bot…
Simon Black
  • 913
  • 8
  • 20
8
votes
3 answers

Have buildbot poll a git repository for new commits?

Is there a buildbot plugin that will poll a git repository for new commits, like the currently included changes.SVNPoller? The closest I have found is git_buildbot.py, but it works as a post-commit hook, so will not work with my setup (using Github,…
dbr
  • 165,801
  • 69
  • 278
  • 343
8
votes
1 answer

Buildbot parsing Python Unit test results

I have a test suite that outputs test results in the Python Unit Test format: http://docs.python.org/library/unittest.html Is there an existing Buildbot module/plugin that can parse this form? Example: DigitalReadWrite_02 …
Ricklon
  • 195
  • 2
  • 9
8
votes
1 answer

How to add "&&" in a shell command line in buildbot?

I need to use "&&" to execute multiple commands in one step. So I create factory as below: f1 = factory.BuildFactory() f1.addStep(shell.ShellCommand, command=["sh", "-c", "pwd", "&&", "cd", "/home/xxx/yyy", "&&", "pwd"]) But during execution it's…
Di Liu
  • 111
  • 5
8
votes
1 answer

Integrating BuildBot into JIRA

We have a BuildBot setup for our continuous build. Additionally, we happen to use JIRA for all our bug-tracking and task needs. What I was trying to accomplish (and have found little to no information on) is integrating build numbers (from builds…
RamblingAP
  • 145
  • 2
  • 9
8
votes
1 answer

How to customize buildbot web pages

I am trying to make some extra web pages for a test buildbot, since I am planning to have one running my project. Practically I would like to have a waterfall page that show the button to build a specific builder, close to the build name, instead…
user393267
7
votes
3 answers

"Selling" trac/buildbot/etc to upper management

My team works mostly w/ Flex-based applications. That being said, there are nearly no conventions at all (even getting them to refactor is a miracle in itself) and the like. Coming from a .NET + CruiseControl.NET background, I've been aching to…
hb.
  • 1,705
  • 5
  • 22
  • 43
7
votes
0 answers

Buildbot: How to get list of changed files since the last successful build?

I come from Jenkins, and there, it is possible to obtain the Git commit hash associated with the last successful build on a Git branch. The environment variable GIT_PREVIOUS_SUCCESSFUL_COMMIT is provided by the Jenkins Git plugin. For each build,…
Flux
  • 9,805
  • 5
  • 46
  • 92
6
votes
2 answers

Daemonized buildbot start

I'm trying to compose the simplest possible docker buildbot master image that runs buildbot start in ENTRYPOINT/CMD Dockerfile instructions. I've tried to use a lot of combinations of dumb-init, gosu and exec, but with no success. The situation is…
utom
  • 482
  • 1
  • 3
  • 15
1
2 3
21 22