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

Run build after every commit to git repository at buildbot

I'd like to run build after every commit to git repository. I've set-upped GitPoller, which monitors my git repository on new commits and informs me about it, but I couldn't find how to do some action on this event. Maybe I have to use other…
Oleksandr Kravchuk
  • 5,963
  • 1
  • 20
  • 31
2
votes
0 answers

How to combine proxy and basic auth in Apache

How do you combine basic auth with a reverse proxy in Apache? I have an Apache site currently configured to use basic auth with an htpasswd file using this config: # Requires: a2enmod proxy_http ProxyPass /…
Cerin
  • 60,957
  • 96
  • 316
  • 522
2
votes
2 answers

How to access a property variable of buildbot which is a dictionary?

I have a buildbot property which I believe is a dictionary. It appears on the build page like this: This property was set by an extract_fn which was returning a string converted to a dictionary. My question is: How do I access this property as a…
Narayanan
  • 41
  • 3
2
votes
1 answer

How to pass variables to Buildbot?

I'm using Buildbot V.0.9.0rc3 My Buildbot triggers when I send a change via command line or if I receieve an http Post request to the correct address. Currently I'm sending changes to Buildbot in two different ways: $ buildbot sendchange -m…
AAlvz
  • 1,059
  • 2
  • 9
  • 15
2
votes
1 answer

How can I run Buildbot build steps on worker/slave as non-root

I'm having issue building electron via electron-packager when I run it as root. However, it works just fine when I run it as other user, say, vagrant. I've already asked question regarding the problem here. However, I think that if I can configure…
mauricio777
  • 1,296
  • 1
  • 15
  • 15
2
votes
2 answers

Continuous integration with GTest and Buildbot

I want to set a continuous integration server with buildbot and gtest. I have already managed to set up the environment which leads to the following output after the unit testing step: Running main() from gtest_main.cc [==========] Running 7 tests…
Aleph
  • 1,343
  • 1
  • 12
  • 27
2
votes
1 answer

Buildbot "First Run" doesn't work for me. How do I diagnose it?

So even the most basic buildbot tutorial (http://docs.buildbot.net/current/tutorial/firstrun.html) has failed for me. OS: Linux Mint 17.1 Cinnamon 64-bit Cinnamon Version: 2.4.8 Linux Kernel: 3.13.0-37-generic ~/tmp $ cd ~ $ mkdir -p tmp/buildbot ~…
2
votes
2 answers

How do I append to the PATH environment variable for a BuildBot ShellCommand

I need to alter the build environment variable for a build step. However the current environment parameter only replaces existing environment variables. Does anybody know how I can get buildbot to append to the PATH environment variable rather than…
Phil Hannent
  • 12,047
  • 17
  • 71
  • 118
2
votes
1 answer

With Buildbot Source Step: why can 'codebase' not be set via Interpolate while 'repourl' can?

I have a factory that I use in several builders and I set builder specific settings via util.Property and util.Interpolate. While this works fine for repourl and branch it simply doesn't work for codebase. The following piece of code shows the…
Tyrnan
  • 23
  • 3
2
votes
2 answers

Buildbot master.cfg conditional depending on property

I face a weird problem with extremly slow file upload on my windows slave buildbot. For example a file upload of a 60Mb files takes almost 2 minutes whereas the same zip on the same network is only taking a few seconds. To work around this, I…
MisterJ
  • 919
  • 1
  • 9
  • 24
2
votes
0 answers

Buildbot behind an Apache proxies - Apache/2.2.16 (Debian) with mod proxy

I am using buildbot ( trac.buildbot.net ) to which clients connect through a proxy (installed on the same machine as buildbot server). Buildbot has an internal webserver of its own which is being served via proxy. To sum it up: client browser ->…
Riziero
  • 144
  • 2
  • 14
2
votes
1 answer

How to get build number, build log url in buildbot?

I am having buildbot master in one PC and slaves in other one. I need the buildbot build log url like (http://:8010/builders/xyz/builds/1) in slave PC for each build in an automated way. Could someone help in getting the same. Thanks in advance.
love
  • 1,000
  • 2
  • 16
  • 35
2
votes
1 answer

Buildbot fails on reset --hard

Buildbot 0.8.6 Periodically the buildbot would fail getting a particular repository. It does this command: argv: ['/usr/bin/git', 'reset', '--hard', '26d7a2f5af4b777b074ac47a7218fe775d039845'] and then complains: fatal: Could not parse object …
ilya1725
  • 4,496
  • 7
  • 43
  • 68
2
votes
1 answer

Showing test count in buildbot

I am not particularly happy about the stats that Buildbot provides. I understand that it is for building and not testing - that's why it has a concept of Steps, but no concept of Test. Still there are many cases when you need test statistics from…
anatoly techtonik
  • 19,847
  • 9
  • 124
  • 140
2
votes
1 answer

Is there a way to test if anyone pushed to the remote repo using JGit from local repo?

I am designing a User interface in Java and I am trying to make my own buildbot like thing. So for that I want to create a function like buildbot's gitpoller in JGit. Is it possible?
pokche
  • 1,141
  • 12
  • 36