Lines Matching refs:job
44 job = self._job
46 group = [Link('/job-group/%d' % job.group.id, job.group.label)]
49 for pred in job.predecessors]
52 for succ in job.successors]
55 for mach in job.machines]
57 logs = [Link('/job/%d/log' % job.id, 'Log')]
59 commands = enumerate(job.PrettyFormatCommand().split('\n'), start=1)
61 return {'text': [('Label', job.label), ('Directory', job.work_dir)],
119 def _GetJobStatus(self, job): argument
121 return status_map.get(str(job.status), None)
124 return [{'id': job.id,
125 'label': job.label,
126 'state': job.status,
127 'status': self._GetJobStatus(job),
128 'elapsed': job.timeline.GetTotalTime()}
129 for job in self._job_group.jobs]
182 job = JobInfo(int(job_id))
186 'attributes': job.GetAttributes(),
187 'timeline': job.GetTimeline()
194 job = JobInfo(int(job_id))
196 ctx = MakeDefaultContext({'job_id': job_id, 'log_lines': job.GetLog()})