fastlane/lib/fastlane/actions/artifactory.rb in fastlane-2.121.0.beta.20190416200048 vs fastlane/lib/fastlane/actions/artifactory.rb in fastlane-2.121.0.beta.20190417200018
- old
+ new
@@ -35,11 +35,11 @@
UI.message("File not found: '#{file_path}'")
end
end
def self.connect_to_artifactory(params)
- config_keys = [:endpoint, :username, :password, :ssl_pem_file, :ssl_verify, :proxy_username, :proxy_password, :proxy_address, :proxy_port]
+ config_keys = [:endpoint, :username, :password, :ssl_pem_file, :ssl_verify, :proxy_username, :proxy_password, :proxy_address, :proxy_port, :read_timeout]
config = params.values.select do |key|
config_keys.include?(key)
end
Artifactory::Client.new(config)
end
@@ -141,9 +141,14 @@
default_value: nil,
optional: true),
FastlaneCore::ConfigItem.new(key: :proxy_port,
env_name: "FL_ARTIFACTORY_PROXY_PORT",
description: "Proxy port",
+ default_value: nil,
+ optional: true),
+ FastlaneCore::ConfigItem.new(key: :read_timeout,
+ env_name: "FL_ARTIFACTORY_READ_TIMEOUT",
+ description: "Read timeout",
default_value: nil,
optional: true)
]
end
end