fix smoke_test_plugins.py: install the .zip under releases, not the .jar

This commit is contained in:
Michael McCandless 2015-06-30 15:03:54 -04:00 committed by mikemccand
parent dab2a76eae
commit 48b85421ec
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ if __name__ == '__main__':
print('Find plugins:') print('Find plugins:')
for name in os.listdir('plugins'): for name in os.listdir('plugins'):
if name not in ('target', 'pom.xml'): if name not in ('target', 'pom.xml'):
url = 'file://%s/plugins/%s/target/elasticsearch-%s-2.0.0-SNAPSHOT.jar' % (os.path.abspath('.'), name, name) url = 'file://%s/plugins/%s/target/releases/elasticsearch-%s-2.0.0-SNAPSHOT.zip' % (os.path.abspath('.'), name, name)
print(' install plugin %s...' % name) print(' install plugin %s...' % name)
run('%s; %s --url %s -install %s' % (JAVA_ENV, es_plugin_path, url, name)) run('%s; %s --url %s -install %s' % (JAVA_ENV, es_plugin_path, url, name))
plugin_names.add(name) plugin_names.add(name)