[Buildbot-devel] Buildtbot Factory steps
Tony Walker
tony.walker at crocodile-clips.com
Tue Mar 28 11:46:34 UTC 2006
Hi,
I wonder if you could help me with a little problem. In my factory (in
factory.py) I have several steps, as shown below, but I want to know how
I pass the 'returned' result from one step, and pass it into the next
step. For example, I would like to create a buildId unique to each
slave, which I can then pass into the compile step (as our code can take
a build id parameter)
The current steps look like this:
self.steps.append(s(step.getBuildId))
self.steps.append(s(step.Compile, command=qmake_a, env=env))
self.steps.append(s(step.Compile, command=nmake_a, env=env))
What I would sort of like is:
buildId = self.steps.append(s(step.getBuildId)) # i.e the
returned result from this step
self.steps.append(s(step.Compile, command=qmake_a, buildId,
env=env)) # and pass it into this step.
self.steps.append(s(step.Compile, command=nmake_a, env=env))
Can you suggest anything?
Best Regards,
Tony.
--
Tony Walker
-------------------------
Crocodile Clips
www.crocodile-clips.com
t: (0131) 226 1511
f: (0131) 226 1522
-------------------------
This communication is confidential and for use by the intended
recipient only. If the message is received by anyone other than the
intended recipient, please return to the sender by replying to it and
take no further action. Thank you.
The contents of this email may contain personal views which are not
the views of Crocodile Clips Ltd, unless specifically stated.
More information about the devel
mailing list