Quickfix for status_build. Refs #444
This commit is contained in:
parent
56ad094b00
commit
06191eb12a
|
@ -112,7 +112,7 @@ class Projects::BuildListsController < Projects::BaseController
|
||||||
@build_list.container_path = params[:container_path]
|
@build_list.container_path = params[:container_path]
|
||||||
@build_list.save
|
@build_list.save
|
||||||
|
|
||||||
@build_list.set_packages(ActiveSupport::JSON.decode(params[:pkg_info])) if params[:status].to_i == BuildServer::SUCCESS
|
@build_list.set_packages(ActiveSupport::JSON.decode(params[:pkg_info])) if params[:status].to_i == BuildServer::SUCCESS and params[:pkg_info].present?
|
||||||
|
|
||||||
render :nothing => true, :status => 200
|
render :nothing => true, :status => 200
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue