deploy()

audfactory.deploy(path, url, *, md5=None, sha1=None, sha256=None, parameters={}, verbose=False)[source]

Deploy local file as an artifact.

Parameters
  • path (str) – local file path

  • url (str) – path on Artifactory

  • md5 (Optional[str]) – MD5 sum, will be calculated if not provided

  • sha1 (Optional[str]) – SHA1 hash, will be calculated if not provided

  • sha256 (Optional[str]) – SHA256 hash, will be calculated if not provided

  • parameters (Dict) – attach any additional metadata

  • verbose (bool) – show information on the upload process

Return type

str

Returns

URL of the artifact

Raises

FileNotFoundError – if local file does not exist