[Buildbot-devel] how to get buildnumber in DirectoryUpload

Dustin J. Mitchell dustin at zmanda.com
Tue Dec 15 20:13:17 UTC 2009


On Tue, Dec 15, 2009 at 11:57 AM, Bryan Murdock <bmurdock at gmail.com> wrote:
> I want to add a buildstep to the end of my build that uploads a code
> coverage report to the buildmaster.  I'd like to make sure it goes to
> a unique directory, so I thought it'd be nice to put the buildnumber
> in there.  Is there a way to do that using the DirectoryUpload
> buildstep?  Further, it'd be nice if the status email could include
> that same buildnumber in a url for the coverage report, or even the
> build web page.  Do I need to write my own buildstep to get all that?

I think that the DirectoryUpload step supports properties in its
masterdest argument, so you could use WithProperties.

Dustin

-- 
Open Source Storage Engineer
http://www.zmanda.com




More information about the devel mailing list