[Buildbot-devel] step's workdir and properties do not get along?

Dustin J. Mitchell dustin at v.igoro.us
Fri Feb 27 03:40:27 UTC 2015


It looks like `workdir` is renderable.  I'm not sure if that's easy or
hard to fix, though.  Want to give it a try?

Dustin

On Mon, Feb 23, 2015 at 11:20 AM, Francesco Di Mizio
<francescodimizio at gmail.com> wrote:
> workdir=util.Interpolate('build/%(prop:branch)s/myFolder'))
>
> fails with:
>
> File
> "/home/buildbot/buildbot-work-nine/sandbox/local/lib/python2.7/site-packages/Twisted-15.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
> line 140, in maybeDeferred
> 12    result = f(*args, **kw)
> 13  File
> "/home/buildbot/buildbot-work-nine/sandbox/local/lib/python2.7/site-packages/buildbot_slave-0.9.0-py2.7.egg/buildslave/commands/shell.py",
> line 28, in start
> 14    workdir = os.path.join(self.builder.basedir, args['workdir'])
> 15  File
> "/home/buildbot/buildbot-work-nine/sandbox/lib/python2.7/posixpath.py", line
> 75, in join
> 16    if b.startswith('/'):
> 17exceptions.AttributeError: Unpersistable instance has no attribute
> 'startswith'
>
> Is this intended?
>
> Cheers,
>  Francesco
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>




More information about the devel mailing list