If reports are used, require runner to expose upload_multiple_artifacts feature

This commit is contained in:
Kamil Trzciński 2018-07-30 17:18:28 +02:00
parent 2ebba1ff33
commit 6f264888d3

View file

@ -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
@ -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