[Buildbot-devel] Responsible user for triggered build

Vasily vasslitvinov at pisem.net
Wed Apr 2 13:58:53 UTC 2014


If "responsible user" comes in a property - yes, you need to use either
set_properties or copy_properties parameter.

I'm not sure whether it is in a property, sourcestamp or changeset as I
don't have much experience with those changesource things, so maybe we'd
better wait till someone more knowledgable chimes in.

Thanks,
Vasily


2014-04-02 17:23 GMT+04:00 Patrick Valsecchi <pvalsecc at cisco.com>:

>  Hi Vasily,
>
> I need to set properties manually to pass the responsible user to the
> scheduler?
>
> Here are those two guys:
>
> builder_factory.addStep(
>     Trigger(schedulerNames=['iol_xrut'], waitForFinish=False,
>             sourceStamp={'branch': 'unittest'},
>             set_properties={
>                 'image':
> Interpolate('ios_sla/i86bi_linux-adventerprisek9-ms-%(prop:buildnumber)s.tar.gz')}))
>
> schedulers = [
>     Triggerable(name="iol_xrut", builderNames=["xos_sla_iol_xrut"])
> ]
>
> Thanks
>
>
> On 02. 04. 14 10:30, Vasily wrote:
>
>  Hi Patrick,
>
>  Can you share a snippet of how you define Trigger and Triggerable
> scheduler? Maybe you just don't set the scheduler to pass the property you
> need?
>
>  Thanks,
> Vasily
>
>
> 2014-04-02 11:05 GMT+04:00 Patrick Valsecchi <pvalsecc at cisco.com>:
>
>> Hi,
>>
>> I'm using buildbot 0.8.8 and I have a Trigger set with a Triggerable
>> scheduler that goes with it. Everything works fine apart from the fact
>> that the "responsible user" is not forwarded to the Triggerable scheduler.
>>
>> Is it a feature or a bug? Is there a trick to work around that?
>>
>> Thanks.
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Buildbot-devel mailing list
>> Buildbot-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20140402/10714746/attachment.html>


More information about the devel mailing list