mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-15 15:58:38 -05:00
Store the job's project refresh if it happened
* Create a field on the job to track this * Add a summarizeable model to the summarizable fk fields so we can pull that in where needed
This commit is contained in:
@@ -1025,6 +1025,7 @@ class RunJob(BaseTask):
|
||||
try:
|
||||
project_update_task().run(local_project_sync.id)
|
||||
job.scm_revision = job.project.scm_revision
|
||||
job.project_update = local_project_sync
|
||||
job.save()
|
||||
except Exception:
|
||||
job.status = 'failed'
|
||||
|
||||
Reference in New Issue
Block a user