[Buildbot-devel] doStepIf function

robert dugal rmdugal at hotmail.com
Mon May 10 12:33:46 UTC 2010

I cannot figure out the syntax for how to use doStepIf with a function so that the step is only executed if certain conditions are true. The condition needs to have some complex testing of builder properties so I want to write this as a function.
How do I convert something like this below into using a function?

                (lambda(step): step.build.getProperties().has_key("FOO"))

                (lambda(step): step.getProperty("FOO") in fooList)
                ), command='some command'))


30 days of prizes to be won with Hotmail.  Enter Here.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20100510/bc56ccf9/attachment.html>

More information about the devel mailing list