Skip to content
Snippets Groups Projects
Commit 6f264888 authored by Kamil Trzcińśki's avatar Kamil Trzcińśki
Browse files

If reports are used, require runner to expose `upload_multiple_artifacts` feature

parent 2ebba1ff
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
Loading
Loading
@@ -338,7 +338,9 @@ module Ci
end
 
def runner_required_features
[]
features = []
features << :upload_multiple_artifacts if publishes_artifacts_reports?
features
end
 
def merge_request
Loading
Loading
@@ -598,6 +600,10 @@ module Ci
end
end
 
def publishes_artifacts_reports?
options.dig(:artifacts, :reports).any?
end
def hide_secrets(trace)
return unless trace
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment