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-05-18 00:19:37 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2013-05-18 00:20:11 (GMT)
commitc8af3f5cdc188a6b97221ffa91931a6765e30728 (patch)
tree5475882368949ed1d67a57aa3a604ad96244ab0d
parent66910704d3e70cc1d16187e6cd3dd5ed5b8bd730 (diff)
Add docs step
-rw-r--r--builders.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/builders.py b/builders.py
index a0e5560..a54c978 100644
--- a/builders.py
+++ b/builders.py
@@ -71,8 +71,15 @@ def create_factory(config, env={}, full=False, upload_docs=False):
env=env))
if upload_docs:
+ factory.addStep(ShellCommand(command=["./osbuild", "docs"],
+ description="docs",
+ descriptionDone="docs",
+ haltOnFailure=True,
+ logfiles={"log": "logs/docs.log"},
+ env=env))
+
docs_url = "http://shell.sugarlabs.org/~buildbot/docs/index.html"
- factory.addStep(DirectoryUpload(slavesrc="build/sugar-docs/html",
+ factory.addStep(DirectoryUpload(slavesrc="docs",
masterdest="~/public_html/docs",
url=docs_url))