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
4
votes
2 answers

How to a create a daily build folder using buildbot?

I want to save a copy of the nightly build, I figured putting each build into its own daily folder would be idea. However I cannot use the time from buildbot master.cfg because that it set when it is configured: copy_files =…
Phil Hannent
  • 12,047
  • 17
  • 71
  • 118
4
votes
2 answers

(Buildbot) Can't activate virtualenv using ShellCommand

Returns error "OSError : no Such file or directory". We were trying to activate our newly created virtual env venvCI using the steps in builder with shellCommand.Seems like we cant activate the virtualenv venvCI. Were only new in this environment so…
4
votes
3 answers

How to configure Buildbot to poll a private git repo?

How do you configure Buildbot to poll a private Git repository? The GitPoller docs don't make any mention of private repos. The file structure under my master/gitpoller-workdir looks suspiciously like a typical .git repo folder, so I'm assuming if I…
Cerin
  • 60,957
  • 96
  • 316
  • 522
4
votes
2 answers

BUILDBOT : How to know the branch that triggered the build?

I try to configure buildbot for multiple projects, git repositories and git branches. For each, I added a GitPoller with branches=[master, develop, release]. It's work but I don't know what I have to put in steps.Git branch argument. How to know…
hexaJer
  • 825
  • 7
  • 12
4
votes
2 answers

Performing string transformations on buildbot build properties?

Is there a good way to perform string transformations on a property or source stamp attribute before using it in an Interpolate? We use slashes in our branch names, and I need to transform the slashes into dashes so I can use them in filenames. That…
David Eyk
  • 12,171
  • 11
  • 63
  • 103
4
votes
1 answer

Customizing buildbot webstatus

I'm trying customizing the webstatus templates for my buildbot 0.8.8 installation According to the documentation: Buildbot uses a templating system for the web interface. The source of these templates can be found in the status/web/templates/…
sergico
  • 2,595
  • 2
  • 29
  • 40
4
votes
2 answers

Buildbot force build via python

Just a little question : it's possible to force a build in Buildbot via a python script or command line (and not via the web interface) ? Thank you!
urza57
  • 205
  • 2
  • 11
4
votes
3 answers

How to set up git a post-commit hook with buildbot

I have a gitPoller set up to run, every 60 seconds, but would rather use the post-commit hook. I am confused on how to accomplish this. I know that I'm supposed to copy the git_buildbot.py file somewhere, but am not sure exactly where. Also, I…
TLu
  • 88
  • 8
4
votes
2 answers

Buildbot having issues with GitPoller

I've setup Buildbot and I'm trying to run a Gitpoller to check for changes to code. I'm getting the following error inside the twistd.log on the master machine. 2012-08-22 17:10:50+1000 [-] http client disconnected before results were…
mlevit
  • 2,676
  • 10
  • 42
  • 50
3
votes
1 answer

git commit queue tool

Our team and project got really big and we can no longer sustain it. So we decided to do the right thing and move to continuous integration. As a first step, we dumped clearcase and moved to git. This made our lives significantly easier. However we…
l.thee.a
  • 3,231
  • 6
  • 25
  • 28
3
votes
2 answers

Adding customized functions to Buildbot

I have written a function in python and I would like to have Buildbot to execute this function when it receives a "build" command. I have used the "factory.addStep()" before to add new commands through command line, but I'm not sure how I can add a…
GHO
  • 321
  • 1
  • 3
  • 4
3
votes
1 answer

how to read configuration settings from custom hooks?

We are moving from HG to Rhodecode and we are using custom buildbot hook for building on push event. As mentioned here it is straight forward to add custom mercurial hook in Rhodecode. The issue is we are reading the configuration, e.g. credentials,…
Javed
  • 5,904
  • 4
  • 46
  • 71
3
votes
1 answer

how to lock steps in buildbot

I have a builder which consists of steps A, B, and C; and a second builder which consists of steps U, V, and W: How can I 'block' step U until steps A and B are finished? So basically I want that steps C and U run parallel to each other. My first…
SandyBr
  • 11,459
  • 10
  • 29
  • 27
3
votes
2 answers

How do I make builds public in buildbot

I have a buildbot working and have added basic authentication following "Setting Authorized Web Users" from the manual http://docs.buildbot.net/current/tutorial/tour.html. I was hoping to restrict people who could trigger a new build. But now the…
Phil Lord
  • 2,917
  • 1
  • 20
  • 31
3
votes
2 answers

How to fix Twisted python Connection to the other side was lost in a non-clean fashion?

I am using buildbot as my CI. Its is built using twisted python. My build worker is getting lost approximately after 10 minutes. My network is fine, but wanted to know why my worker is getting lost. I want to know in what circumstances we will see…
RMK
  • 1,111
  • 4
  • 14
  • 33
1 2
3
21 22