[Buildbot-devel] Is it possible to chain Dependent Schedulers?
Rodney Stanton
rodneys at broadon.com
Mon Aug 3 17:17:10 UTC 2009
Your example has one Dependent scheduler. The question is about two or
more, thus serializing depedencies
c['schedulers'] =[]
nightly = Nightly('slot 1', ['acquia-drupal'], hour=[0], minute=0, branch="")
c['schedulers'].append(nightly)
installers = Dependent('installers', upstream = nightly,
builderNames = ["installer"]);
c['schedulers'].append(installers);
third_pass = Dependent('third_pass', upstream = installer,
builderNames = ["third_pass"]);
c['schedulers'].append(third_pass);
The error included in the original email is the result of testing such a configuration on my system. Is this desired or an error?
Thanks,
Rodney
Douglas Hubler wrote:
> Rodney Stanton <rodneys at ...> writes:
>
>> 4.5.3 Dependent Scheduler
>> You can use “Dependencies” to express this relationship
>> to the Buildbot.
>>
>
> from buildbot.scheduler import Nightly, Dependent
> c['schedulers'] = []
>
> nightly = Nightly('slot 1', ['acquia-drupal'], hour=[0], minute=0, branch="")
> c['schedulers'].append(nightly)
>
> installers = Dependent('installers', upstream = nightly,
> builderNames = ["installer"]);
> c['schedulers'].append(installers);
>
>
> Where
> 'acquia-drupal' and "installer" are the names of two different builders
> "installer" will build if "acquia-drupal" builds successfully at night
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> 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/20090803/a2d8b636/attachment.html>
More information about the devel
mailing list