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
1
vote
1 answer

How to take and assign value from force scheduler in buildbot

I need to take value (publish) from force scheduler (true/false), to be specified from checkbox and pass it to variable - to check if its true|false and the proceed proper step, then run build step. properties=[ …
maitza
  • 41
  • 1
  • 6
1
vote
1 answer

No grid/console views in buildbot, build view always empty, despite successful build

I have installed buildbot -- one docker image with a master, and another with a worker. Inter-container networking is allowed, and they share the same network; I have also a gitea instance, and installed the buildbot_gitea plugin. So far I got a…
jcp
  • 71
  • 8
1
vote
1 answer

Can a Triggerable Scheduler use a change filter, or can a Trigger build step be conditional on a property?

I would like to determine which schedulers to trigger depending on the branch name, from inside the build factory - if that's possible. Essentially I have a builder that is doing all the common build steps to compile package etc, and then has a…
Heath
  • 128
  • 1
  • 9
1
vote
1 answer

How to configure the buildbot docker container using BUILDBOT_CONFIG_URL

The documentation of the official docker container for buildbot expects the BUILDBOT_CONFIG_URL environment variable to point to a .tar.gz file accessible via HTTP containing the master.cfg file. How is this supposed to work if the master.cfg file…
doberkofler
  • 9,511
  • 18
  • 74
  • 126
1
vote
0 answers

Buildbot: how to require authentication for all users?

By default, the Buildbot web interface grants unlimited access to all functionality for anonymous users. With the use of authentication plugins (e.g. buildbot.www.auth.UserPasswordAuth), anonymous users can be reduced to read-only access. Is there a…
Flux
  • 9,805
  • 5
  • 46
  • 92
1
vote
0 answers

Buildbot set and obfuscate password set as build property

I want to pass a password to a buildstep via build properties http://docs.buildbot.net/latest/manual/configuration/schedulers.html#forcescheduler-scheduler but I do not want the password to show up in the build properties tab or any logs. I know…
dosas
  • 567
  • 4
  • 18
1
vote
0 answers

How to start daemon from buildbot ShellCommand

I have an application, it runs as a daemon using the fork function. int pid = fork(); if (pid != 0) { return 0; } If run it from the console, everything works correctly. but if buildbot does this using the ShellCommand, then it waits for the…
Andrey Yankovich
  • 868
  • 9
  • 13
1
vote
1 answer

Is it possible to get the files changed information from commit ids using mercurial python library?

I am implementing a custom hook in Rhodecode CI, which sends a build request to Buildbot on every push. The hook gives me the revisions commit-id, how can I extract information about the files that were changed as part of this…
Javed
  • 5,904
  • 4
  • 46
  • 71
1
vote
1 answer

BuildBot - Possible to do a dynamic repo checkout?

My goal is to setup a buildbot that listens out for webhooks from a github server and then builds the repo listed in the webhook via a generic make all command. The issue I'm having is that it appears in the build steps I need to specify the github…
gowerc
  • 1,039
  • 9
  • 18
1
vote
1 answer

BuildBot: execute build steps in parallel

Is it possible to instruct BuildBot to execute build steps in parallel? I've been looking through documentation and it only seems to be possible by actually generating multiple builds / build factories. I'm not entirely sure about Builders and…
velis
  • 8,747
  • 4
  • 44
  • 64
1
vote
1 answer

How can I identify a Buildbot environment by environnment variable?

Does Buildbot provide an environment variable in CI jobs to allow it's identification like e.g. Travis does with TRAVIS?
thinwybk
  • 4,193
  • 2
  • 40
  • 76
1
vote
2 answers

buildbot install : git poll failed

I have a little problem. I wanted to install buildbot so I followed the doc: http://buildbot.net/buildbot/docs/latest/Installation.html For the master.cfg, I just copy the sample. But when I start BuildBot I got that : gitpoller: repo poll…
tobdliub
  • 11
  • 1
1
vote
1 answer

Buildmaster not listening on port

I'm trying to run Buildbot from a docker-compose file on my computer, using the images for buildmaster and worker provided by Buildbot. I define the buildmaster port to be 9989, and in my master.cfg I define a PBChangeSource that listens at port…
1
vote
0 answers

BuildBot: unable to inject extended event handler in master.cfg

Buildbot version: 1.3.0 Twisted version: 18.4.0 my master.cfg # -*- python -*- # ex: set filetype=python: from buildbot.plugins import * from config import * import os from hooks import CustomHandler # ip related imports import socket import…
Rajat
  • 2,467
  • 2
  • 29
  • 38
1
vote
1 answer

Calling Python method in BuildBot build Steps

I am new to BuildBot and trying to implement the build process from master.cfg. I created common utility python packages which can be used while build-process, So while adding steps in util.BuildFactory() I want to execute the python methods from my…
Dhairya
  • 743
  • 2
  • 11
  • 29