[Buildbot-devel] Get nothing doing WithProperties("%s", "revision") from a previously source.SVN(mode=export) step

Dossy Shiobara dossy at panoptic.com
Tue Apr 8 17:54:10 UTC 2008


On 2008.04.08, Dustin J. Mitchell <dustin at zmanda.com> wrote:
> On Tue, Apr 8, 2008 at 12:07 PM, J. Félix Ontañón <fontanon at emergya.es> wrote:
> >  Yes, it work with any of the other modes, but i really need to export
> >  it to remove the .svn directories.
> 
> This looks like a bug, actually -- the slave runs 'svnversion' in the
> new build directory, but since there are no .svn directories, it
> doesn't get a revision.
> 
> I'm not sure how this could be fixed.

We need to change to having the build property container created before
the first build step.  Each build step should be able to read/write to
the properties container.

This way, the SVN step could store the version it checked out or
exported as a build property.  Downstream build steps could then get
and/or set/reset that property as needed.

-- Dossy

-- 
Dossy Shiobara              | dossy at panoptic.com | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)




More information about the devel mailing list