Exemplo n.º 1
0
 def __init__(self, conn, task_name, integration_id, integration_path, instance_id, rev_str, timeout):
     name = "%s.%s" % (rev_str, task_name)
     Task.__init__(self, name=name)
     self.conn = conn
     self.task_name = task_name
     self.integration_id = integration_id
     self.integration_path = integration_path
     self.instance_id = instance_id
     self.group_result = None
     self.timeout = timeout
Exemplo n.º 2
0
    def __init__(self, conn, vcs_info, revision, committer, comment, lock=None):
        name = "r%s" % revision
        Task.__init__(self, lock=lock, name=name)
        self.conn = conn
        self.project = vcs_info['project']
        self.code = vcs_info['code']
        self.source_tree_id = vcs_info['source_tree_id']
        self.instance_id = vcs_info['instance_id']

        self.revision = revision
        self.committer = committer
        self.comment = comment
Exemplo n.º 3
0
    def __init__(self, conn, vcs_info, revision, node, committer, comment, lock=None):
        name = "%s:%s" % (revision, node)
        Task.__init__(self, lock=lock, name=name)
        self.conn = conn
        self.project = vcs_info["project"]
        self.code = vcs_info["code"]
        self.source_tree_id = vcs_info["source_tree_id"]
        self.instance_id = vcs_info["instance_id"]

        self.revision = revision
        self.node = node
        self.committer = committer
        self.comment = comment
Exemplo n.º 4
0
 def __init__(self, conn, vcs_info):
     Task.__init__(self)
     self.conn = conn
     self.vcs_info = vcs_info