Artifactory REST API的Perl客户端示例如下:
use Artifactory::Client;
my $args = {
artifactory => 'http://artifactory.server.com',
port => 8080,
repository => 'myrepository',
ua => LWP::UserAgent->new() # LWP::UserAgent-like object is pluggable. Default is LWP::UserAgent.
};
my $client = Artifactory::Client->new($args);
my $path = '/foo'; # Artifactory 上的路径
暂无评论