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

What algorithm does buildbot use to assign builders to slaves?

I have a buildbot with some builders and two slave machines. Some of the builders can run on one slave, and some of them can run on both machines. What algorithm will buildbot use to schedule the builds? Will it notice that some builders can run on…
flybywire
  • 261,858
  • 191
  • 397
  • 503
6
votes
1 answer

How to run a conditional step if previous timed out

I have a buildbot build factory with several steps. One of the steps periodically times out causing buildbot to throw an exception and exit. However, even in this case I'd like to be able to store the logs generated. One option would be to add a…
ilya1725
  • 4,496
  • 7
  • 43
  • 68
6
votes
3 answers

How to have a buildbot GitPoller change source watch all branches?

I'm looking for a way to have a GitPoller changesource watch all branches instead of just one. For now, either I specify branch='some branch' in the GitPoller constructor, or it defaults to master. Even better would be to be able to specify some ref…
Romain
  • 751
  • 7
  • 15
5
votes
1 answer

Executing buildsteps in buildbot on other clients

I am trying to find out if I can execute certain buildsteps on another machine than the build client in the same build. For instance, one path of the build process includes that the final zip should just be packaged if 2 other machines did run…
Daniel Stephens
  • 2,371
  • 8
  • 34
  • 86
5
votes
2 answers

How do you install Angular on windows 7

Hi this should be pretty straight forward but I'm getting stuck. I installed buildbot (0.9.06b)on my machine a Windows 7 machine. I have managed to get it up and running however when I try to display the web page(IE8), I get the error Angular not…
user595985
  • 1,543
  • 4
  • 29
  • 55
5
votes
4 answers

Buildbot: how to skip a step if a file doesn't exist?

I need to skip a build step when building some branches. More exactly, I want to execute a ShellCommand step only if the script to be ran is present on the source tree. I tried: ShellCommand(command=["myscript"], workdir="path/to", …
Benoit Blanchon
  • 13,364
  • 4
  • 73
  • 81
5
votes
5 answers

Which continuous integration server is able to queue jobs?

Use case: CI server polls some VSC repository and runs test suite for each revision. And if two or more revisions were commited, even in a relatively small time interval, I want the CI server to put each of them in queue, run tests for each, store…
Gill Bates
  • 14,330
  • 23
  • 70
  • 138
5
votes
1 answer

Is it possible to have more than one source checkout step in BuildBot?

Is it possible to have more than one source checkout step in BuildBot? I can't find any explicit documentation of this, but it appears that doing a source checkout in BuildBot also changes the current working directory to the checkout directory,…
bolinfest
  • 3,710
  • 2
  • 27
  • 40
5
votes
3 answers

How to distribute and execute platform-specific unit tests?

We have a python project that we want to start testing using buildbot. Its unit tests include tests that should only work on some platforms. So, we've got tests that should pass on all platforms, tests that should only run on 1 specific platform,…
abyx
  • 69,862
  • 18
  • 95
  • 117
4
votes
2 answers

Is there any working example of buildbot with Mercurial

buildbot version being used is: $ buildbot --version Buildbot version: 0.8.3p1 Twisted version: 10.1.0 Checkconfig, gives me errors: $ buildbot checkconfig /usr/lib/python2.6/dist-packages/twisted/mail/smtp.py:10: DeprecationWarning: the…
kamal
  • 9,637
  • 30
  • 101
  • 168
4
votes
0 answers

PyLint: how to make pylint fail if code rating is not above some defined threshold rating

I'm using Pylint in buildbot's build step and i want the build should stop if certain code quality doesn't meet BitBucketFactory.addStep(steps.PyLint(command=['pylint', '--py3k', '--ignore=ln2sql', …
Rajat
  • 2,467
  • 2
  • 29
  • 38
4
votes
3 answers

How to convert buildbot Property to string value

Problem: I am trying to figure out how to convert a buildbot Property into a string value. I really don't have much experience with buildbot other than what I have read in the docs and someone elses code. The issue is I have a Property that contains…
incubus
  • 681
  • 1
  • 5
  • 21
4
votes
2 answers

Getting Error On First Run With Buildbot

I'm following the docs trying to get Buildbot working for the first time and I keep getting the same error: 2017-08-04 13:58:45-0400 [-] while starting BuildMaster Traceback (most recent call last): File…
Mike
  • 809
  • 1
  • 10
  • 23
4
votes
1 answer

How to trigger a build for any branch in buildbot

I am using buildbot in a project and I have a setup of a scheduler, that automatically builds the project every time when there is a change, to test whether it compiles fine. This works and buildbot detects the changes on all branches but the…
Lyubomir Vasilev
  • 3,000
  • 17
  • 24
4
votes
3 answers

buildbot on windows as a service

After following the suggestions outlined on their website on how to set up buildbot on windows, I'm left with one last question - I have multiple slaves and one master all set up on one computer (they're all demo slaves right now, doing simple…
Nate
  • 12,499
  • 5
  • 45
  • 60
1
2
3
21 22