diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-10-02 17:01:26 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-10-02 17:01:26 +0000 |
commit | 48c911b75e96563991387dc1c7b3aaa071d511cc (patch) | |
tree | 922137e8f162cf74b3965fc39ac1913b1049f0f5 /lib | |
parent | c0a982fad665e28769967b17eddd90900f62be78 (diff) | |
download | gitlab-ce-48c911b75e96563991387dc1c7b3aaa071d511cc.tar.gz |
CE Resolve "Refactor code quality similar to JUnit tests"
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/ci/config/entry/reports.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/ci/config/entry/reports.rb b/lib/gitlab/ci/config/entry/reports.rb index 7bc482a6f48..98f12c226b3 100644 --- a/lib/gitlab/ci/config/entry/reports.rb +++ b/lib/gitlab/ci/config/entry/reports.rb @@ -11,7 +11,7 @@ module Gitlab include Validatable include Attributable - ALLOWED_KEYS = %i[junit sast dependency_scanning container_scanning dast].freeze + ALLOWED_KEYS = %i[junit codequality sast dependency_scanning container_scanning dast].freeze attributes ALLOWED_KEYS @@ -21,6 +21,7 @@ module Gitlab with_options allow_nil: true do validates :junit, array_of_strings_or_string: true + validates :codequality, array_of_strings_or_string: true validates :sast, array_of_strings_or_string: true validates :dependency_scanning, array_of_strings_or_string: true validates :container_scanning, array_of_strings_or_string: true |