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
3
votes
1 answer

Configure buildbot for builders with diamond dependencies

Say, I have a project with 4 different jobs (builders): Library Binary A (dependent on Library) Binary B (dependent on Library) Package (dependent on Binary A and Binary B) and I would like to setup Continuous Integration using BuildBot. At the…
3
votes
0 answers

Reading into Logfiles using a custom step in Buildbot?

I'm currently facing problems when trying to read in the logfiles after calling scripts on a slave. As a test, I'm calling on the slave a batch file "test.bat" which echoes "OK". I'd then like to use Logobservers to read into the stdio, by…
Victor
  • 31
  • 3
3
votes
1 answer

Buildbot has too many pending jobs and has stopped building at all

I encountered a problem in which buildbot has too many pending jobs and has stopped doing any more builds. Even when I restart the buildbot, the pending jobs do not go away. I want to be able to do the build and remove the pending jobs. How can i do…
277roshan
  • 354
  • 1
  • 3
  • 13
3
votes
0 answers

Can you do parallel build in buildbot using multiprocessing module of python

Can you use "multiprocessing" module of python with buildbot to do parallel build? I have been trying to integrate this python module with my buildstep. However, the steps do not execute at all. Is there a solution to this problem?
277roshan
  • 354
  • 1
  • 3
  • 13
3
votes
2 answers

Unable to restart the buildbot master

I am running Buildbot version 0.8.8 on Windows7. I have the configuration (master.cfg) file which creates all the builders using a small trick. I read a XML file from the subversion which lists all the steps for the builders. Something…
sk11
  • 1,779
  • 1
  • 17
  • 29
3
votes
2 answers

how to use web hooks on Buildbot (gitlab integration)

I am quite curious to know how do you actually use the buildbot when you have a repo on gitlab. From what I understand, there is no way to upload the py files, which are triggered by the post-commit hook, so I am not exactly clear how do you tell…
user393267
3
votes
1 answer

Setting up a Buildbot hosting service for multiple projects

I need to set up a buildbot hosting environment which is capable of managing a large number of independent projects, and ideally provides a web front-end for users to manage their buildbot instance. As far as I can gather, there isn't such a utility…
Shawn Chin
  • 84,080
  • 19
  • 162
  • 191
3
votes
1 answer

Buildbot not sending emails?

I have a buildbot setup running for a software project, and am trying to set up e-mail notifications like so: from buildbot.status import mail c['status'].append(mail.MailNotifier(fromaddr=BUILDBOT_EMAIL, …
Boris
  • 1,180
  • 1
  • 18
  • 29
3
votes
1 answer

Windows cloud instances for testing open-source project?

I work with SCons (www.scons.org), the open-source build tool. We do test-driven development, and we have a buildbot, but we're always short of Windows buildslaves. We'd like (in a perfect world) a large collection with different python versions,…
GaryO
  • 5,873
  • 1
  • 36
  • 61
3
votes
3 answers

Sending one single email for multiple builders

I am setting up a build environment with a unique master buildbot and multiple buildslaves. I have multiple builders which will run on the available slaves. The builders can be triggered on-force or scheduled to run as nightly builds or can be…
sk11
  • 1,779
  • 1
  • 17
  • 29
2
votes
2 answers

How do I use copy mode when checking out multiple git repositories in buildbot

I have multiple git repositories to have some interdependencies between them. I need to check all of them out when doing a full system build. With buildbot, I can use the mode='clobber' parameter to the Git source class constructor, but this causes…
user961826
  • 564
  • 6
  • 14
2
votes
2 answers

Why is buildbot *NOT* failing when it should?

I'm trying to fix a very complex buildbot base build system, which has the annoying habit of showing green bars with 'failed (1)' in them. The problem is that we run several commands using the ShellCommand build step, which is not failing the…
Chris Huang-Leaver
  • 6,059
  • 6
  • 41
  • 67
2
votes
0 answers

Can a buildbot-step run python code on the worker?

I am using buildbot. Is it possible to write my own build-step class that executes Python code on the worker? The build-step will consist of find all files of a certain type in the source start a 3rd-party application that is installed on the…
SebDieBln
  • 3,303
  • 1
  • 7
  • 21
2
votes
1 answer

Detect whether script is running in the context of Buildbot

Can a script that may be run by Buildbot's ShellCommand detect whether it is indeed running inside the context of Buildbot (e.g. as opposed to having been started manually in a shell)? For instance, does Buildbot set any environment variables (such…
rookie099
  • 2,201
  • 2
  • 26
  • 52
2
votes
1 answer

Buildbot Docker BUILDBOT_CONFIG_URL how to setup with SSH keys?

In the Buildbot Docker tutorial documentation it says: "You will need to change docker-compose.yml the variable BUILDBOT_CONFIG_URL in order to point to your github fork" But how would I do this if the URL points to a private repository accessible…
deadParrot
  • 79
  • 4