use provided version in smoke test file paths

This commit is contained in:
Simon Willnauer 2015-08-27 23:20:01 +02:00
parent 144a641a5d
commit f64a875e03
1 changed files with 6 additions and 6 deletions

View File

@ -265,12 +265,12 @@ if __name__ == "__main__":
hash = args.hash hash = args.hash
verbose = args.verbose verbose = args.verbose
url = args.url url = args.url
files = [ files = [ x % {'version': version} for x in [
'org/elasticsearch/distribution/tar/elasticsearch/2.0.0-beta1/elasticsearch-2.0.0-beta1.tar.gz', 'org/elasticsearch/distribution/tar/elasticsearch/%(version)s/elasticsearch-%(version)s.tar.gz',
'org/elasticsearch/distribution/zip/elasticsearch/2.0.0-beta1/elasticsearch-2.0.0-beta1.zip', 'org/elasticsearch/distribution/zip/elasticsearch/%(version)s/elasticsearch-%(version)s.zip',
'org/elasticsearch/distribution/deb/elasticsearch/2.0.0-beta1/elasticsearch-2.0.0-beta1.deb', 'org/elasticsearch/distribution/deb/elasticsearch/%(version)s/elasticsearch-%(version)s.deb',
'org/elasticsearch/distribution/rpm/elasticsearch/2.0.0-beta1/elasticsearch-2.0.0-beta1.rpm' 'org/elasticsearch/distribution/rpm/elasticsearch/%(version)s/elasticsearch-%(version)s.rpm'
] ]]
verify_java_version('1.7') verify_java_version('1.7')
if url: if url:
download_url = url download_url = url