[Buildbot-devel] How to Schedule for the same builder twice at the same time?

Rick Liu rick.liu at mobidia.com
Mon Feb 8 23:52:10 UTC 2010


Hi,

I have 2 buildslave machines for the builder "Vista32_BT_dbg".
During the day,
I like how it works now as redundent to load balance the builds.

However, during the night,
I would like to schedule a build for both  buildslave machines of the builder "Vista32_BT_dbg".

I tried something like below by putting repeated builderNames,
but it doesn't work as expected (to call builder twice at the specified time),
so what's the correct way to schedulee to call the same builder twice at the specified time?

============================================================
debug = scheduler.Nightly(name='Debug',
              branch="HEAD",
              builderNames=['WinXp_BT_dbg','Vista32_BT_dbg','Vista32_BT_dbg','Vista64_BT_dbg'],
              dayOfWeek=[0,1,2,3,4,5],
              hour=3,
              onlyIfChanged=False)
c['schedulers'].append(debug)


vista_dbg = {'name': "Vista32_BT_dbg",
      'slavenames': ["MIC-Build-Vista32-1", "MIC-Build-Vista32-2"],
      'builddir': "Vista32_BT_dbg",
      'factory': vista_dbgFactory,
      }
c['builders'].append(vista_dbg)
===========================================================


Thanks,


Rick








-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20100208/828af641/attachment.html>


More information about the devel mailing list