diff options
author | Stan Hu <stanhu@gmail.com> | 2019-07-03 21:47:32 +0000 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-07-03 21:47:32 +0000 |
commit | a1d113c9ff74d973575db3ff9738939aaf1c59c1 (patch) | |
tree | 89ab904125cff434ca3e4bfca53593dc7072ed60 /app/services | |
parent | 2ad75a4f96c4d377e18788966e7eefee4d78b6d2 (diff) | |
parent | a08209ffa35a29cd84271895389b4537dee92e86 (diff) | |
download | gitlab-ce-a1d113c9ff74d973575db3ff9738939aaf1c59c1.tar.gz |
Merge branch 'limit-amount-of-tests-returned' into 'master'
Limit amount of JUnit tests returned
Closes #64035
See merge request gitlab-org/gitlab-ce!30274
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/ci/compare_reports_base_service.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/services/ci/compare_reports_base_service.rb b/app/services/ci/compare_reports_base_service.rb index d5625857599..6c2d80d8f45 100644 --- a/app/services/ci/compare_reports_base_service.rb +++ b/app/services/ci/compare_reports_base_service.rb @@ -8,7 +8,7 @@ module Ci status: :parsed, key: key(base_pipeline, head_pipeline), data: serializer_class - .new(project: project) + .new(**serializer_params) .represent(comparer).as_json } rescue Gitlab::Ci::Parsers::ParserError => e @@ -40,6 +40,10 @@ module Ci raise NotImplementedError end + def serializer_params + { project: project } + end + def get_report(pipeline) raise NotImplementedError end |