bbangert /
buildbot-xmlrpc
Buildbot fork with additional XMLRPC methods and bugfixes.
Clone URL : http://bitbucket.org/bbangert/buildbot-xmlrpc/ (size: 1.9 MB)
| commit 712: | 0c1a9cf1502a |
| parent 711: | ac1cb7bce772 |
| branch: | default |
make FileDownload create directories too; docs
4 months ago
Changed (Δ130 bytes):
raw changeset »
buildbot/slave/commands.py (5 lines added, 0 lines removed)
docs/buildbot.texinfo (2 lines added, 3 lines removed)
Up to file-list buildbot/slave/commands.py:
| … | … | @@ -888,6 +888,11 @@ class SlaveFileDownloadCommand(Command): |
888 |
888 |
self.path = os.path.join(self.builder.basedir, |
889 |
889 |
self.workdir, |
890 |
890 |
os.path.expanduser(self.filename)) |
891 |
||
892 |
dirname = os.path.dirname(self.path) |
|
893 |
if not os.path.exists(dirname): |
|
894 |
os.makedirs(dirname) |
|
895 |
||
891 |
896 |
try: |
892 |
897 |
self.fp = open(self.path, 'wb') |
893 |
898 |
if self.debug: |
Up to file-list docs/buildbot.texinfo:
| … | … | @@ -5192,9 +5192,8 @@ builder's ``builddir'' is something like |
5192 |
5192 |
builder's ``builddir'' is something like @file{tests-i386}, then the |
5193 |
5193 |
workdir is going to be @file{~buildslave/tests-i386/build}, and a |
5194 |
5194 |
@code{slavedest=} of @file{foo/bar.html} will get put in |
5195 |
@file{~buildslave/tests-i386/build/foo/bar.html}. Remember that |
|
5196 |
neither of these commands will create missing directories for you. |
|
5197 |
||
5195 |
@file{~buildslave/tests-i386/build/foo/bar.html}. Both of these commands |
|
5196 |
will create any missing intervening directories. |
|
5198 |
5197 |
|
5199 |
5198 |
@subheading Other Parameters |
5200 |
5199 |
