Module: CIRunner::Check::ConcurrentDownload

Included in:
Buildkite, CircleCI
Defined in:
lib/ci_runner/check/concurrent_download.rb

Overview

Module used to dowload multiple logfiles in parallel.

Some CI providers doesn’t have an API to download a single log file for the whole build, and instead one log file is produced per step. CI Runner needs to download the logfile of all steps in the build in order to rerun all test that failed.

Instance Method Summary collapse

Instance Method Details

#initializeObject



13
14
15
16
17
18
# File 'lib/ci_runner/check/concurrent_download.rb', line 13

def initialize(...)
  @queue = Queue.new
  @tempfile = Tempfile.new

  super(...)
end