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

How to dynamically generate choices with 'getChoices' member function in Buildbot?

I already have a method that returns a list of branches of a specific repo and I would like to use it to dynamically generate choices based on the returned list in the web UI of Buildbot. For example, instead of this static…
0
votes
1 answer

How can I set collapseRequests in my buildbot master.cfg

I try to set collapseRequests in my buildbot master.cfg, but when I add c['collapseRequests'] = True Error shows that "Unknown BuildmasterConfig key collapseRequests"; When I try to add collapseRequests in BuilderConfig,…
henry
  • 185
  • 2
  • 2
  • 13
0
votes
0 answers

How to download latest build from buildfarm

It is probably a noob question but I want to ask about a BuildFarm. For example, I went to OpenCV's official site and found a link to BuildFarm. http://build.opencv.org/#/summary/ It has listings of all the latest builds by BuildBot on various…
Manish Kumar Sharma
  • 12,982
  • 9
  • 58
  • 105
0
votes
2 answers

In the context of a buildbot master.cfg file, how do I instantiate a class based on a string using native modules

In stock python, I can do the following to instantiate a class based on a string containing its name: #!/usr/bin/env python2.7 import sys class Foo(object): pass cls = getattr(sys.modules[__name__], 'Foo') instance = cls() print…
Andrew
  • 1,027
  • 1
  • 11
  • 17
0
votes
1 answer

How to configure buildbot so that there is one build per push?

Assuming the following git commits in master (we use pull requests, but the below is simpler to reproduce the problem): $ git clone my_repo $ cd my_repo $ git checkout master $ for delta in 17 34 68; do # touch & commit a file and then…
zsepi
  • 1,572
  • 10
  • 19
0
votes
1 answer

Buildbot run step on master?

I have a buildbot setup with a slave that has no access to the internet. This causes problems during checkout: slave = BuildFactory() slave.addStep(Git(repourl=..., mode='full')) The master change source polls git (it has outside access), kicks off…
user318904
  • 2,968
  • 4
  • 28
  • 37
0
votes
1 answer

Buildbot multiple slaves working on same directory efficiently

I am using "buildbot" to accommodate some git projects, however I cannot seem to write it in an efficient manner. Lets say I have a project named "Project" and have 3 different componenets within them namely "A", "B", "C" and have three different…
Hakes
  • 631
  • 3
  • 13
0
votes
0 answers

buildbot: How to set boolean property using Interpolate?

I try to set a new Boolean property using Interpolate: 'new-property':Interpolate('%(prop:old-property:~False)s') but 'new-property' gets the value 'True' (string) instead of the value True (Boolean). How can I set the new property to Boolean…
moti
  • 159
  • 4
0
votes
2 answers

BuildBot close public access

By default web interface of BuildBod is a public readable, so anyone can view my builds, etc. I want to close it from guests, so only registered developers will be able to view my BuildBot page. How can I do it? I use BuildBot 0.8.9.
Denis Shevchenko
  • 1,342
  • 2
  • 10
  • 23
0
votes
1 answer

buildbot - how to fill project field in forcebuild form

I want to fill project field with list of projects . User will select one of the project and start Forcebuild. How can I do that?
0
votes
1 answer

Buildbot - Traceback while polling for changes issue

I'm running on Windows 7 x64. I followed the install documentation on Buildbot and did some research on the issue I'm having and haven't found a solution yet. When I do a force build, everything works fine. I'm using GitPoller. When it tries to poll…
solstice333
  • 3,399
  • 1
  • 31
  • 28
0
votes
0 answers

Buildbot nightly build is failing to checkout the branch

I am using buildbot for building and testing chromium source. We have a local repo maintained for chromium source. We are using Gerrit for maintaining the repository. The buildbot gets successfully triggered when some change is checked in. I am…
0
votes
1 answer

How to make buildbot run the task by certain event?

Is there any way to configure master.cfg as to schedule a builder to be executing the code by the time the project folder or file in it has been modified(or its FileVersionInfo changed)? I know it is quite of a workaround, but i need this as to run…
0
votes
1 answer

Buildbot figure out if there were any changes

I have a Buildbot scheduler to run builds every night. Is there a way to configure Buildbot so that it does the builds only if there were changes since the last build? -Ilya.
ilya1725
  • 4,496
  • 7
  • 43
  • 68
0
votes
0 answers

Why the buildmaster does not configure ENV of buildslave?

I'm facing a really weird issue on buildbot, setting the env property. Strange thing is that I have some configuration where the env configuration is working as expected. The scenario that is showing that misbehavior is the following: buildmaster…
sergico
  • 2,595
  • 2
  • 29
  • 40