np, for each answer, I require a copy of the game you are working on :)
On Tue, Jan 16, 2018 at 5:45 PM Francesco Di Mizio < [email protected]> wrote: > Works like charm. Thank Pierre :) > > On Tue, Jan 16, 2018 at 4:35 PM, Pierre Tardy <[email protected]> wrote: > >> Hi Francesco, >> >> In order to implement that you will need to create a custom step using >> the "new style form" >> untested example follows: >> >> class AddRuntimeSteps(BuildStep): >> def run(self): >> for item in self.getProperty("foo", "").split(','): >> self.build.addStepsAfterCurrentStep(ShellCommand("echo " + item)) >> return SUCCESS >> >> On Tue, Jan 16, 2018 at 3:55 PM Francesco Di Mizio < >> [email protected]> wrote: >> >>> Hey gents, >>> >>> how do I accomplishing something like this? I'd like to add a block of >>> steps inside a loop. >>> >>> In pseudo code: >>> >>> for item in utils.Property('foo').split(','): >>> addSteps(bar) >>> >>> PS: that wouldnt work obviously :) >>> >>> Thanks! >>> _______________________________________________ >>> users mailing list >>> [email protected] >>> https://lists.buildbot.net/mailman/listinfo/users >> >> >
_______________________________________________ users mailing list [email protected] https://lists.buildbot.net/mailman/listinfo/users
