Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2013-01-12 00:12:55 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2013-01-12 00:12:55 (GMT)
commit0d2652a26fc6e4dc7cc7044ce0c3f5e68bee353a (patch)
tree7f45e5ab2fac30eda2edb073e4f7810f6bc592bd
parent2d502db387de531957311e6bdf5b42fb3dc1913e (diff)
Try to fix call to upload-completed
-rw-r--r--builders.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/builders.py b/builders.py
index cadc99f..10c6478 100644
--- a/builders.py
+++ b/builders.py
@@ -7,7 +7,7 @@ from buildbot.steps.shell import ShellCommand
from buildbot.steps.master import MasterShellCommand
from buildbot.config import BuilderConfig
from buildbot.locks import MasterLock
-from buildbot.process.properties import Property
+from buildbot.process.properties import Interpolate
from buildbot.steps.transfer import DirectoryUpload
from buildbot.steps.transfer import FileUpload
@@ -93,10 +93,9 @@ def create_factory(config, env={}, full=False, distribute=False,
factory.addStep(FileUpload(slavesrc="snapshot.tar.xz",
masterdest=masterdest))
- upload_completed = "~/public_html/snapshots/upload-completed"
- factory.addStep(MasterShellCommand(command=[upload_completed,
- Property("buildername"),
- Property("buildnumber")]))
+ command = Interpolate("~/public_html/snapshots/upload-completed "
+ "%(prop:buildername)s %(prop:buildnumber)s")
+ factory.addStep(MasterShellCommand(command=command))
return factory