Ticket #43: workdir.patch
| File workdir.patch, 0.9 kB (added by Pike, 2 years ago) |
|---|
-
buildbot/slave/commands.py
old new 300 300 return self.deferred 301 301 302 302 def _startCommand(self): 303 # ensure workdir 304 if not os.path.isdir(self.workdir): 305 os.makedirs(self.workdir) 303 306 log.msg("ShellCommand._startCommand") 304 307 if self.notreally: 305 308 self.sendStatus({'header': "command '%s' in dir %s" % \ -
buildbot/steps/shell.py
old new 206 206 assert isinstance(command, (list, tuple, str)) 207 207 # create the actual RemoteShellCommand instance now 208 208 kwargs = self.remote_kwargs 209 if isinstance(kwargs['workdir'], WithProperties): 210 kwargs['workdir'] = kwargs['workdir'].render(self.build) 209 211 kwargs['command'] = command 210 212 kwargs['logfiles'] = self.logfiles 211 213 cmd = RemoteShellCommand(**kwargs)
![[Buildbot Logo]](/trac/chrome/site/header-text-transparent.png)