Commit 8b386ec0 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Use constants for filenames in build_spec.rb

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 536928a3
......@@ -129,9 +129,9 @@ describe Ci::Build do
end
ARTIFACTS_METHODS = {
has_codeclimate_json?: 'codeclimate.json',
has_performance_json?: 'performance.json',
has_sast_json?: 'gl-sast-report.json'
has_codeclimate_json?: Ci::Build::CODEQUALITY_FILE,
has_performance_json?: Ci::Build::PERFORMANCE_FILE,
has_sast_json?: Ci::Build::SAST_FILE
}.freeze
ARTIFACTS_METHODS.each do |method, filename|
......
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