lib/evrone/ci/worker/middlewares/docker_script.rb in evrone-ci-worker-0.2.0.pre15 vs lib/evrone/ci/worker/middlewares/docker_script.rb in evrone-ci-worker-0.2.0.pre17
- old
+ new
@@ -47,10 +47,10 @@
script = [upload_sh_command(file, after_script_content(env))]
script << "env - HOME=$HOME bash #{file}"
script = script.join(" && ")
- env.ssh.spawn script, chdir: home, timeout: TIMEOUT, &env.job.method(:add_to_output)
+ env.ssh.spawn script, chdir: home, &env.job.method(:add_to_output)
end
def script_content(env, home)
buf = ["set -e"]
buf << "echo before_script > #{home}/.ci_state"