[Buildbot-devel] Variables or else

Marcus knight1991 at gmx.de
Sun Jun 27 16:23:07 UTC 2010


Dustin J. Mitchell <dustin at ...> writes:

> 
> On Sun, Jun 27, 2010 at 10:28 AM, Marcus <knight1991 at ...> wrote:
> > which generates an archive but i want %got_revision% replaced whit the SVN
> > Revision checked out before and %buildername whit the buildslaves name
> 
> You're using windows environment-variable format instead of
> WithProperties.  Look for WithProperties in the manual.
> 
> Dustin
> 


Hi, 

now I have:

f1.addStep(ShellCommand, name="tar", command=["cd /path/to/foo &&", "tar",
"zcvf", WithProperties("foo-trunk-svn%(revision)s-%(slavename)s.tar.gz"), "./*"],

but it don't work because it change back to the build path before tar is run. 

Did I have to use workdir or so?

Thanks for your Help





More information about the devel mailing list