update epoch when recycling a build
This commit is contained in:
parent
e3c23f0bed
commit
a5fc700ab2
1 changed files with 1 additions and 1 deletions
|
|
@ -4474,7 +4474,7 @@ def new_build(data):
|
|||
if st_desc in ('FAILED','CANCELED'):
|
||||
#should be ok to replace
|
||||
update = UpdateProcessor('build', clauses=['id=%(id)s'], values=data)
|
||||
update.set(**dslice(data, ['state', 'task_id', 'owner', 'start_time', 'completion_time']))
|
||||
update.set(**dslice(data, ['state', 'task_id', 'owner', 'start_time', 'completion_time', 'epoch']))
|
||||
update.rawset(create_event='get_event()')
|
||||
update.execute()
|
||||
builddir = koji.pathinfo.build(data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue