Commit 9e87eaf8 authored by Mike Greiling's avatar Mike Greiling

sort pipeline graph builds and build groups by name

parent c3f858b7
- status_groups = statuses.group_by(&:group_name) - status_groups = statuses.sort_by(&:name).group_by(&:group_name)
- status_groups.each do |group_name, grouped_statuses| - status_groups.each do |group_name, grouped_statuses|
- if grouped_statuses.one? - if grouped_statuses.one?
- status = grouped_statuses.first - status = grouped_statuses.first
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment