简体   繁体   中英

Grouping Steps in Buildbot

I have a set of steps that are logically grouped together, and should all be skipped based on a property set by the user. I know that I can skip certain steps individually by setting the doStepIf parameter, but I was wondering if there was a way to group them all and skip that group somehow?

I think I had a similar issue, so I created a trigger with doStepIf, and the triggered item had multiple steps.

factory_neo_modules_common_build.addSteps(common_factory_cbi_steps_debug)
factory_neo_modules_common_build.addStep(
    Trigger( schedulerNames=['modules_other test trigger'],
             waitForFinish=True,
             flunkOnFailure=False,
             doStepIf=CheckNativeBuilder ) )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM