lib/kitchen/configurable.rb in test-kitchen-1.10.2 vs lib/kitchen/configurable.rb in test-kitchen-1.11.0

- old
+ new

@@ -310,10 +310,14 @@ return env_wrapped code if powershell_shell? Util.wrap_command((env_wrapped code)) end def env_wrapped(code) - (proxy_settings << code).join("\n") + code_parts = proxy_settings + code_parts << shell_env_var("TEST_KITCHEN", 1) + code_parts << shell_env_var("CI", ENV["CI"]) if ENV["CI"] + code_parts << code + code_parts.join("\n") end def proxy_setting_keys [:http_proxy, :https_proxy, :ftp_proxy] end