If reports are used, require runner to expose upload_multiple_artifacts
feature
This commit is contained in:
parent
2ebba1ff33
commit
6f264888d3
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue