[Buildbot-devel] copying information between steps or schedulers

Brian Warner warner-buildbot at lothar.com
Tue Mar 14 02:17:06 UTC 2006


> I don't know about the long run,  but i would welcome build attributes
> available at each steps!

Ok, I'll start thinking about how to implement them.

> I'm using a python script that upload files to an ftp server for that, the
> script is stored in the same subversion repository as the code. It would be
> easier to have something better integrated into buildbot. It would be great
> if the tartget would not be limited to the buildbot master also.

Well, the BuildStep primitives would be "copy a file from the master to the
slave", and "copy a file from the slave to the master". You could follow the
slave->master step with a MasterShellCommand(["scp", "localfile",
"elsewhere:targetfile"]) to make it land somewhere else. I'm still of the
opinion that you should consider keeping this in a Makefile in your source
tree, rather than hiding it in the buildmaster's config where you're the only
person who will ever see how it's done, but I can imagine situations where
that wouldn't be the best solution.


cheers,
 -Brian




More information about the devel mailing list