[Buildbot-devel] Getting "sendchange" not to throw exception related to broker

Dustin J. Mitchell dustin at v.igoro.us
Sun Jul 7 12:48:02 UTC 2013


On Sun, Jul 7, 2013 at 12:08 AM, Leo Osvald <leden.os at gmail.com> wrote:
> I am new to learning and am currently trying to use "sendchange" with the
> sample configuration from the official Tutorial:
> http://docs.buildbot.net/current/tutorial/firstrun.html
> and running a single slave and master on localhost. From the logs everything
> looks fine and I am able to trigger successful builds through web interface.
>
> Now, I would like to trigger the build from the command line using
> "sendchange". This is my attempt:
> buildbot sendchange -m localhost:9989 -a example-slave:pass --who johndoe
> some_file

You're connecting to the master as a slave (example-slave), so the
master gets confused when the slave tries to send a change  Instead,
set up a PBChangeSource and connect using the user/pass that you
configure for the PBChangeSource.

Dustin




More information about the devel mailing list