[Buildbot-devel] single builder run with multiple trigger requests

Boris Savelev boris.savelev at gmail.com
Tue Jun 21 10:38:07 UTC 2011


2011/6/21 Boris Savelev <boris.savelev at gmail.com>:
>> What I do:
>> I create builder project1_source that generate tarball from git.
>> I create blocker step for project1_linux_x86 that depends on git step
>> of project1_source builder.
>> I write buildsMatch for blocker step, that check all builds of builder
>> project1_source and compare 'uniqnumber' from project1_linux_x86
>> build.
>> All is fine, but I don't know how to run builder project1_source if no
>> any match builds of project1_source found.
>>
>> The question is:
>> I have builder object and property dict. How I can force builder with
>> properties from blocker step.
>>
> This part need some more code-)
>            elif self.idlePolicy == "run":
>                self._log(msg + ": start build for break the block")
>
> Code that start builder 'builderName` with props
> '{'uniquebuildnumber':
> myBuildStatus.getProperties()['uniquebuildnumber']}`
>


solved for me
look at http://pastebin.com/X4S8EcLE


-- 
Boris




More information about the devel mailing list