cookbook 'artifactory_rest', '= 0.2.0'
artifactory_rest (6) Versions 0.2.0 Follow3
Provides resources for interacting with the artifactory rest API
cookbook 'artifactory_rest', '= 0.2.0', :supermarket
knife supermarket install artifactory_rest
knife supermarket download artifactory_rest
artifactory_rest-cookbook
This cookbook provides resources for interacting with the artifactory REST API
Supported Platforms
This is written in pure ruby so it supports all of teh platformz
Resources
artifactory_rest_gavc_download
This is basically remote_file
where the source is defined as Artifactory GAVC search parameters.
Attributes
Name | Type | Description | Default | Required |
---|---|---|---|---|
path | String | Path to directory in which file be downloaded | n/a | yes |
endpoint | String | Artifactory instance URI | n/a | yes |
group_id | String | Group for GAVC search | n/a | yes |
artifact_id | String | Artifact for GAVC search | n/a | yes |
version | String | Version for GAVC search | n/a | yes |
classifier | String | Classifier for GAVC search | nil | no |
packaging | String | File extension of artifact | n/a | yes |
repository_keys | Array of strings | Repositories to search | n/a | yes |
Usage
The following will download the commons-io-2.4-sources.jar file to /tmp/downloads
, assuming that Artifactory
at http://artifactory.mycompany.com/artifactory
has that artifact in its maven-central-cache
repository.
artifactory_rest_gavc_download '/tmp/downloads' do # Required group_id 'commons-io' artifact_id 'commons-io' endpoint 'http://artifactory.mycompany.com/artifactory' version '2.*' repository_keys 'maven-central-cache' packaging 'jar' # Optional classifier 'sources' end
License and Authors
License: See the LICENSE file in this repository.
- Author:: Ryan Larson (ryan.mango.larson@gmail.com)
- Author:: Ben Jansen (aogail@w007.org)
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Foodcritic Metric
0.2.0 passed this metric
0.2.0 passed this metric