view autobot/projects/project.template @ 67:e8dabfd24c42

stub for a template to create new autobot factories; unfinished
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 11 Jan 2011 10:55:52 -0800
parents
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]