[mod] add job id in logs

This commit is contained in:
Laurent Peuch 2018-11-03 05:30:07 +01:00
parent c0e7069a57
commit 6e406eca3f

2
run.py
View file

@ -310,7 +310,7 @@ async def run_job(worker, job):
}, ["jobs", f"job-{job.id}"])
# fake stupid command, whould run CI instead
task_logger.info(f"Starting job '{job.name}'...")
task_logger.info(f"Starting job '{job.name}' #{job.id}...")
cwd = os.path.split(path_to_analyseCI)[0]
arguments = f' {job.url_or_path} "{job.name}"'