Skip to content
代码片段 群组 项目
提交 9383429c 编辑于 作者: Grzegorz Bizon's avatar Grzegorz Bizon 提交者: Maxime Orefice
浏览文件

Instrument merge request reports artifacts size

上级 2897bf93
No related branches found
No related tags found
无相关合并请求
...@@ -30,6 +30,8 @@ def each_blob(&blk) ...@@ -30,6 +30,8 @@ def each_blob(&blk)
raise NotSupportedAdapterError, 'This file format requires a dedicated adapter' raise NotSupportedAdapterError, 'This file format requires a dedicated adapter'
end end
::Gitlab::ApplicationContext.push(artifact: file.model)
file.open do |stream| file.open do |stream|
file_format_adapter_class.new(stream).each_blob(&blk) file_format_adapter_class.new(stream).each_blob(&blk)
end end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册