コード例 #1
0
ファイル: steps.py プロジェクト: collab-project/pyamf-release
    def start(self):
        command = ['python2.5', self.slaveScript]

        if self.getProperty('branch') is not None:
            command.append(WithProperties('--branch=%(branch)s'))

        self.setCommand(command)
        ShellCommand.start(self)
コード例 #2
0
ファイル: steps.py プロジェクト: collab-project/pyamf-release
    def __init__(self, slaveScript=None, **kwargs):
        """
        @param slaveScript: Location of the buildslave script.
        @type slaveScript: C{str}
        """
        self.slaveScript = slaveScript

        ShellCommand.__init__(self, **kwargs)

        self.addFactoryArguments(slaveScript=slaveScript)