lib/vx/builder/script_builder/parallel.rb in vx-builder-0.5.9 vs lib/vx/builder/script_builder/parallel.rb in vx-builder-0.5.10
- old
+ new
@@ -5,13 +5,10 @@
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
+ env.init << trace_sh_command("export CI_PARALLEL_JOB_NUMBER=#{env.source.parallel_job_number}")
end
app.call(env)
end