gitlab-org--gitlab-foss/lib/gitlab/cycle_analytics/test_stage.rb

21 lines
413 B
Ruby
Raw Normal View History

module Gitlab
module CycleAnalytics
class TestStage < BaseStage
2016-12-02 16:09:29 +00:00
def initialize(*args)
@start_time_attrs = mr_metrics_table[:latest_build_started_at]
@end_time_attrs = mr_metrics_table[:latest_build_finished_at]
super(*args)
end
2016-12-02 16:09:29 +00:00
def stage
:test
end
def description
"Total test time for all commits/merges"
end
end
end
end