Also provide the job id to analyseCI

This commit is contained in:
Alexandre Aubin 2021-01-05 17:22:25 +01:00
parent 016d032020
commit 470fb02022

2
run.py
View file

@ -414,7 +414,7 @@ async def run_job(worker, job):
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}"'
arguments = f' {job.url_or_path} "{job.name}" {job.id}'
task_logger.info(f"Launch command: /bin/bash " + path_to_analyseCI + arguments)
try:
command = await asyncio.create_subprocess_shell("/bin/bash " + path_to_analyseCI + arguments,