Sha256: 239508a113f2e8ed9e1a1ae28b187b10fa71ecfa9d5c29605ae1906252f422a7
Contents?: true
Size: 482 Bytes
Versions: 2
Compression:
Stored size: 482 Bytes
Contents
module Vx module Builder class ScriptBuilder class Parallel < Base def call(env) if env.source.parallel? env.init << trace_sh_command("export CI_PARALLEL_JOBS=#{env.source.parallel}") if env.source.parallel_job_number? env.init << trace_sh_command("export CI_PARALLEL_JOB_NUMBER=#{env.source.parallel_job_number}") end end app.call(env) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vx-builder-0.5.9 | lib/vx/builder/script_builder/parallel.rb |
vx-builder-0.5.8 | lib/vx/builder/script_builder/parallel.rb |