Commit 6f264888 authored by Kamil Trzciński's avatar Kamil Trzciński

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

parent 2ebba1ff
...@@ -338,7 +338,9 @@ module Ci ...@@ -338,7 +338,9 @@ module Ci
end end
def runner_required_features def runner_required_features
[] features = []
features << :upload_multiple_artifacts if publishes_artifacts_reports?
features
end end
def merge_request def merge_request
...@@ -598,6 +600,10 @@ module Ci ...@@ -598,6 +600,10 @@ module Ci
end end
end end
def publishes_artifacts_reports?
options.dig(:artifacts, :reports).any?
end
def hide_secrets(trace) def hide_secrets(trace)
return unless trace return unless trace
......
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