[Buildbot-devel] example of ShellCommands

Timothee Besset ttimo at idsoftware.com
Sun Jan 11 00:22:34 UTC 2004


I tried without success to get a ConfigurableBuildFactory with a 
ShellCommands working. I could figure out from the examples how to do a 
Compile step, but the ShellCommands one fails. What would be the right 
way to go about it?

What I'm trying is:
f1 = ConfigurableBuildFactory(
        [
        ( ShellCommands, { 'command' : 'echo foo' } )
        ] )

but that fails with:
            self.waiting = self.newBuild()
          File 
"/home/timo/Build/buildbot-0.4.2/buildbot/process/base.py", line
387, in newBuild
            b = self.buildFactory.newBuild()
          File 
"/home/timo/Build/buildbot-0.4.2/buildbot/process/base.py", line
763, in newBuild
            b.setSteps(self.steps)
          File 
"/home/timo/Build/buildbot-0.4.2/buildbot/process/base.py", line
643, in setSteps
            step = factory(build=self, **args)
        exceptions.TypeError: __init__() takes at least 2 non-keyword 
arguments
(1 given)

TTimo ..




More information about the devel mailing list