Saltstack module artifactory 详解

Posted randomlee

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Saltstack module artifactory 详解相关的知识,希望对你有一定的参考价值。

artifactory.get_latest_snapshot

   Gets latest snapshot of the given artifact

   artifactory_url
       URL of artifactory instance
   repository
       Snapshot repository in artifactory to retrieve artifact from, for example: libs-snapshots
   group_id
       Group Id of the artifact
   artifact_id
       Artifact Id of the artifact
   packaging
       Packaging type (jar,war,ear,etc)
   target_dir
       Target directory to download artifact to (default: /tmp)
   target_file
       Target file to download artifact to (by default it is target_dir/artifact_id-snapshot_version.packaging)
   classifier
       Artifact classifier name (ex: sources,javadoc,etc). Optional parameter.
   username
       Artifactory username. Optional parameter.
   password
       Artifactory password. Optional parameter.

artifactory.get_release

   Gets the specified release of the artifact

   artifactory_url
       URL of artifactory instance
   repository
       Release repository in artifactory to retrieve artifact from, for example: libs-releases
   group_id
       Group Id of the artifact
   artifact_id
       Artifact Id of the artifact
   packaging
       Packaging type (jar,war,ear,etc)
   version
       Version of the artifact
   target_dir
       Target directory to download artifact to (default: /tmp)
   target_file
       Target file to download artifact to (by default it is target_dir/artifact_id-version.packaging)
   classifier
       Artifact classifier name (ex: sources,javadoc,etc). Optional parameter.
   username
       Artifactory username. Optional parameter.
   password
       Artifactory password. Optional parameter.

artifactory.get_latest_release

   Gets the latest release of the artifact

   artifactory_url
       URL of artifactory instance
   repository
       Release repository in artifactory to retrieve artifact from, for example: libs-releases
   group_id
       Group Id of the artifact
   artifact_id
       Artifact Id of the artifact
   packaging
       Packaging type (jar,war,ear,etc)
   target_dir
       Target directory to download artifact to (default: /tmp)
   target_file
       Target file to download artifact to (by default it is target_dir/artifact_id-version.packaging)
   classifier
       Artifact classifier name (ex: sources,javadoc,etc). Optional parameter.
   username
       Artifactory username. Optional parameter.
   password
       Artifactory password. Optional parameter.

artifactory.get_snapshot

   Gets snapshot of the desired version of the artifact

   artifactory_url
       URL of artifactory instance
   repository
       Snapshot repository in artifactory to retrieve artifact from, for example: libs-snapshots
   group_id
       Group Id of the artifact
   artifact_id
       Artifact Id of the artifact
   packaging
       Packaging type (jar,war,ear,etc)
   version
       Version of the artifact
   target_dir
       Target directory to download artifact to (default: /tmp)
   target_file
       Target file to download artifact to (by default it is target_dir/artifact_id-snapshot_version.packaging)
   classifier
       Artifact classifier name (ex: sources,javadoc,etc). Optional parameter.
   username
       Artifactory username. Optional parameter.
   password
       Artifactory password. Optional parameter.

我是分割线

以上是关于Saltstack module artifactory 详解的主要内容,如果未能解决你的问题,请参考以下文章

Saltstack module introspect 详解

Saltstack module artifactory 详解

Saltstack module highstate_doc 详解

Saltstack module iosconfig 详解

Saltstack module http 详解

Saltstack module genesis 详解