[Buildbot-devel] custom buildstem
Benoît Allard
benoit at aeteurope.nl
Tue Mar 29 09:23:06 UTC 2011
mp3 at hello.lv wrote:
>> You'll need to implement a new command on the slave, and deploy that
>> to all of your buildslaves, then call that command from a custom
>> buildstep on the master.
>
>> Dustin
>
> How? Could you post a short example?
>
Actually, you can help yourself with any existing command. They already
are Python program that run on the slave side. They are mainly meant to
launch executable on the slave side, but if you replace the
system.execute (or whatever is used) with your own mechanics, it should
work fine.
Pick one there for instance as a starting brick.
https://github.com/djmitche/buildbot/blob/master/slave/buildslave/commands/fs.py
I don't know what you're into, but think of making it generic enough,
maybe it can be integrated in buildbot and also help others !
Regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6370 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://buildbot.net/pipermail/devel/attachments/20110329/71eda047/attachment.bin>
More information about the devel
mailing list