[Buildbot-commits] [Buildbot] #977: WithProperties() cannot by used for setting VCS's workdir
Buildbot
buildbot-devel at lists.sourceforge.net
Thu Aug 26 02:09:58 UTC 2010
#977: WithProperties() cannot by used for setting VCS's workdir
------------------------+---------------------------------------------------
Reporter: PiotrSikora | Owner:
Type: defect | Status: new
Priority: major | Milestone: undecided
Version: 0.8.1 | Keywords:
------------------------+---------------------------------------------------
Setting workidir for VCS (Git in my case, but stacktrace indicates that it
applies to all of them) this way:
{{{
workdir=WithProperties('%(property_name)s')
}}}
results in following exception:
{{{
starting git operation
remoteFailed: [Failure instance: Traceback from remote host -- Traceback
(most recent call last):
File "/usr/local/lib/python2.5/site-packages/twisted/spread/pb.py", line
840, in _recvMessage
netResult = object.remoteMessageReceived(self, message, netArgs,
netKw)
File "/usr/local/lib/python2.5/site-packages/twisted/spread/flavors.py",
line 114, in remoteMessageReceived
state = method(*args, **kw)
File "/usr/local/lib/python2.5/site-packages/buildslave/bot.py", line
171, in remote_startCommand
d = self.command.doStart()
File "/usr/local/lib/python2.5/site-
packages/buildslave/commands/base.py", line 908, in doStart
d = defer.maybeDeferred(self.start)
--- <exception caught here> ---
File "/usr/local/lib/python2.5/site-packages/twisted/internet/defer.py",
line 106, in maybeDeferred
result = f(*args, **kw)
File "/usr/local/lib/python2.5/site-
packages/buildslave/commands/vcs.py", line 81, in start
".buildbot-sourcedata")
File "/usr/local/lib/python2.5/posixpath.py", line 60, in join
if b.startswith('/'):
exceptions.AttributeError: Unpersistable instance has no attribute
'startswith'
}}}
Setting workdir this way works fine for other step types.
--
Ticket URL: <http://buildbot.net/trac/ticket/977>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list