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.

我是分割线

posted @ 2020-03-28 18:30  random_lee  阅读(211)  评论(0编辑  收藏  举报