ci_run_n_monitor: refresh job state when starting it

Avoids job staying in 'manual' state and making the script think there's
nothing left running.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27499>
This commit is contained in:
Eric Engestrom
2024-02-05 23:20:06 +00:00
committed by Marge Bot
parent 8a05cb8da7
commit 45df652d0b

View File

@@ -221,6 +221,7 @@ def enable_job(
job = get_pipeline_job(pipeline, new_job["id"])
else:
pjob.play()
job = get_pipeline_job(pipeline, pjob.id)
if action_type == "target":
jtype = "🞋 "