Method: Pkg::ManageArtifactory#download_beta_pe_tarballs
- Defined in:
- lib/packaging/artifactory.rb
#download_beta_pe_tarballs(beta_tag, repo, remote_path, local_path) ⇒ Object
Download beta pe tarballs to local path based on tag, repo, and path on artifactory
554 555 556 557 558 559 560 561 |
# File 'lib/packaging/artifactory.rb', line 554 def download_beta_pe_tarballs(beta_tag, repo, remote_path, local_path) pattern = "#{remote_path}/*-#{beta_tag}-*" artifacts = Artifactory::Resource::Artifact.pattern_search(repo: repo, pattern: pattern) artifacts.each do |artifact| artifact.download(local_path) end end |