[Buildbot-devel] info needed on triggering the buildbot
Anantvijay K
anantvijayk.ml at gmail.com
Wed Jun 10 09:35:29 UTC 2009
Hi all,
Got the "buildbot sendchange" tool working for me..
Details in my blog....
http://anantvijay.blogspot.com/2009/06/triggering-buildbot-through-buildbot.html
Thanks Ravindra for your quick reply..
Cheers,
Anantvijay
On Tue, Jun 9, 2009 at 7:28 PM, Anantvijay K <anantvijayk.ml at gmail.com>wrote:
> Hi ravindra,
>
> i'm pasting a part of my config file.
> .
> .
> .
> # Change Source
> from buildbot.changes.pb import PBChangeSource
> c['change_source'] = PBChangeSource()
>
> # SCHEDULERS
> from buildbot import scheduler
> quick = scheduler.Scheduler(name="Quick_scheduler", branch="xyz",
> treeStableTimer=5,
> builderNames=["Quick_Builder"])
> c['schedulers'] = [quick]
> .
> .
> .
> .
> #Builder
> b1 = {'name': "Quick_Builder", 'slavename': "buildslave", 'builddir':
> "Quick_Dir", 'factory': f1, }
> c['builders'] = [b1]
> .
> .
> .
> .
>
> I guess my master.cfg has already the stuff u trying to tell.
> Any more changes to be done??
>
>
>
> Thanks,
> Anantvijay
>
>
> On Tue, Jun 9, 2009 at 6:40 PM, <ravindra.kambalakatta at wipro.com> wrote:
>
>> Anantvijay,
>>
>> in the master.cfg under Scheduler section , you need to add the modules
>> for which the sendchange events should be listening to.
>>
>> E.g
>> c['schedulers'].append(Scheduler(name="all", branch=None,
>> treeStableTimer=1*2,
>>
>> builderNames=["netkit-tftp","buildbot-full"]))
>> In the above e.g, modules netkit-tftp and buildbot-full will be listening
>> to sendchange command.
>>
>> Try this, should work.
>>
>> Best,
>> Ravindra
>>
>> ------------------------------
>> *From:* Anantvijay K [mailto:anantvijayk.ml at gmail.com]
>> *Sent:* Tuesday, June 09, 2009 6:07 PM
>> *To:* buildbot-devel at lists.sourceforge.net
>> *Subject:* [Buildbot-devel] info needed on triggering the buildbot
>>
>> Hi list,
>>
>> I've a *git* repo and i've setup the *periodic scheduler* to trigger the
>> buildbot after every 6 hrs. I also have a *force build* button on the
>> webstatus page. I've configured the buildbot to listen for changes on xyz
>> branch not the master branch. The above setup works fine.
>>
>> But now due to some reasons i want to trigger the buildbot through a
>> script based on some other inputs instead of periodic build. How do i
>> achieve it?? any pointers??
>>
>> Tried using the "buildbot sendchange --username=abc
>> --master=xx.xx.xx.xxx:yyyy --branch=xyz". After i run the cmd, it prints the
>> msg "change sent successfully". The buildmaster's log gets the msg
>> "2009-06-09 18:03:21+0530 [Broker,3,xx.xx.xx.xxx] perspective_addChange
>> called", but none of the builders are invoked.
>>
>> help??
>>
>>
>> Thanks in advance,
>> Anantvijay
>>
>> *Please do not print this email unless it is absolutely necessary. *
>>
>> The information contained in this electronic message and any attachments
>> to this message are intended for the exclusive use of the addressee(s) and
>> may contain proprietary, confidential or privileged information. If you are
>> not the intended recipient, you should not disseminate, distribute or copy
>> this e-mail. Please notify the sender immediately and destroy all copies of
>> this message and any attachments.
>>
>> WARNING: Computer viruses can be transmitted via email. The recipient
>> should check this email and any attachments for the presence of viruses. The
>> company accepts no liability for any damage caused by any virus transmitted
>> by this email.
>>
>> www.wipro.com
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20090610/ed161643/attachment.html>
More information about the devel
mailing list