#794: send repository_id to resque job
This commit is contained in:
parent
da4860bc45
commit
7f14958a89
|
@ -292,7 +292,10 @@ class BuildList < ActiveRecord::Base
|
|||
:platform_path => platform_path,
|
||||
:released => save_to_platform.released
|
||||
},
|
||||
:repository_name => save_to_repository.name,
|
||||
:repository => {
|
||||
:name => save_to_repository.name,
|
||||
:id => save_to_repository.id
|
||||
},
|
||||
:time_living => 2400 # 40 min
|
||||
}]
|
||||
)
|
||||
|
|
|
@ -239,7 +239,7 @@ class Project < ActiveRecord::Base
|
|||
:platform_path => platform_path,
|
||||
:released => platform.released
|
||||
},
|
||||
:repository_name => repository.name,
|
||||
:repository => { :name => repository.name, :id => repository.id },
|
||||
:cleanup => true,
|
||||
:save_results => false,
|
||||
:time_living => 2400 # 40 min
|
||||
|
|
Loading…
Reference in New Issue