fix smoke_test_plugins.py: install the .zip under releases, not the .jar
This commit is contained in:
parent
dab2a76eae
commit
48b85421ec
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue