[Buildbot-devel] conditional steps

Javier Somoza jsomoza at pandasoftware.es
Mon Apr 10 13:41:34 UTC 2006

            Yeah, and i could configure the package generation scheduler
dependent of the other one that compiles.


> i think a general (and useful)  "conditional step" would be hard to
> implement.
> you could always write a python script or shell (or whatever) script
> that checks your condition(s) and then acts accordingly, and use a
> ShellCommand buildstep to execute this script.
> in your special case though, you could implement two boolean methods
> for the fileIsImportant parameter of a scheduler in the master config,
> one of which returns true if the file in included in the change list,
> the other one if it is not.
> then you implement two schedulers, one with a builder that includes
> the package generation step(s), the other one with a builder that
> doesn't, and use above mentioned methods for the fileIsImportant
> parameter accordingly.

Javier Somoza
Oficina de Dirección Estratégica
mailto:jsomoza at pandasoftware.es

Panda Software
Buenos Aires, 12
Teléfono: 902 24 365 4
Fax:  94 424 46 97
Panda Software, una de las principales compañías desarrolladoras de
soluciones de protección contra virus e intrusos, presenta su nueva
familia de soluciones. Todos los usuarios de ordenadores, desde las
redes más grandes a los domésticos, disponen ahora de nuevos productos
con excelentes tecnologías de seguridad. Más información en:


¡Protéjase ahora contra virus e intrusos! Pruebe gratis nuestros
productos en http://www.pandasoftware.es/descargas/

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

More information about the devel mailing list