Mercurial > hg > autobot
view autobot/projects/project.template @ 131:a14d466c843b
fix syntax error and note import errors in projects
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sun, 23 Jan 2011 11:15:43 -0800 |
parents | e8dabfd24c42 |
children | 21f07648ef88 |
line wrap: on
line source
from buildbot.process.factory import BuildFactory from buildbot.steps.shell import ShellCommand from buildbot.steps.shell import WithProperties class Test{{project.title()}}(BuildFactory): """ {{description}}: {{repo}} """ def __init__(self): BuildFactory.__init__(self) # checkout the repository #self.addStep(ShellCommand(command=['hg', 'clone', '{{repo}}'])) # run the tests [TODO]