Sha256: 1b722c5c5012363b2e6896edc4f3f058b3fbe9eaa6f808fd50edaf9dbffdfe6f
Contents?: true
Size: 471 Bytes
Versions: 14
Compression:
Stored size: 471 Bytes
Contents
namespace :release do promoted_path = 'promoted_dir' directory promoted_path desc "Acquires the promoted artifacts to be released" task :files => promoted_path do artifacts_url = "http://localhost:8080/job/#{ENV['PROMOTED_JOB_NAME']}/#{ENV['PROMOTED_NUMBER']}/artifact/artifacts/#{ENV['CALATRAVA_ENV']}" cd promoted_path do sh "curl -O '#{artifacts_url}/#{app_name}.ipa'" sh "curl -O '#{artifacts_url}/#{app_name}.apk'" end end end
Version data entries
14 entries across 14 versions & 1 rubygems