#46: hot fix
This commit is contained in:
parent
a4488727d3
commit
03dc35b70e
|
@ -235,7 +235,7 @@ module AbfWorker
|
||||||
# if project of builds has been removed from repository.
|
# if project of builds has been removed from repository.
|
||||||
BuildList.where(
|
BuildList.where(
|
||||||
:project_id => projects_for_cleanup.map{ |k| k.split('-')[0] }.uniq,
|
:project_id => projects_for_cleanup.map{ |k| k.split('-')[0] }.uniq,
|
||||||
:save_to_repository_id => repository.id,
|
:save_to_repository_id => save_to_repository_id,
|
||||||
:status => BuildList::BUILD_PUBLISH
|
:status => BuildList::BUILD_PUBLISH
|
||||||
).update_all(:status => BuildList::FAILED_PUBLISH)
|
).update_all(:status => BuildList::FAILED_PUBLISH)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue