Class: Ci::BuildReportResult

Inherits:
ApplicationRecord show all
Includes:
Partitionable
Defined in:
app/models/ci/build_report_result.rb

Constant Summary

Constants inherited from ApplicationRecord

ApplicationRecord::MAX_PLUCK

Constants included from HasCheckConstraints

HasCheckConstraints::NOT_NULL_CHECK_PATTERN

Constants included from ResetOnColumnErrors

ResetOnColumnErrors::MAX_RESET_PERIOD

Instance Method Summary collapse

Methods included from Partitionable

registered_models

Methods inherited from ApplicationRecord

model_name, table_name_prefix

Methods inherited from ApplicationRecord

===, cached_column_list, #create_or_load_association, declarative_enum, default_select_columns, id_in, id_not_in, iid_in, nullable_column?, pluck_primary_key, primary_key_in, #readable_by?, safe_ensure_unique, safe_find_or_create_by, safe_find_or_create_by!, #to_ability_name, underscore, where_exists, where_not_exists, with_fast_read_statement_timeout, without_order

Methods included from ResetOnColumnErrors

#reset_on_union_error, #reset_on_unknown_attribute_error

Methods included from Gitlab::SensitiveSerializableHash

#serializable_hash

Instance Method Details

#suite_errorObject



47
48
49
# File 'app/models/ci/build_report_result.rb', line 47

def suite_error
  tests["suite_error"]
end

#tests_durationObject



27
28
29
# File 'app/models/ci/build_report_result.rb', line 27

def tests_duration
  tests["duration"]
end

#tests_erroredObject



39
40
41
# File 'app/models/ci/build_report_result.rb', line 39

def tests_errored
  tests["errored"].to_i
end

#tests_failedObject



35
36
37
# File 'app/models/ci/build_report_result.rb', line 35

def tests_failed
  tests["failed"].to_i
end

#tests_nameObject



23
24
25
# File 'app/models/ci/build_report_result.rb', line 23

def tests_name
  tests["name"]
end

#tests_skippedObject



43
44
45
# File 'app/models/ci/build_report_result.rb', line 43

def tests_skipped
  tests["skipped"].to_i
end

#tests_successObject



31
32
33
# File 'app/models/ci/build_report_result.rb', line 31

def tests_success
  tests["success"].to_i
end