Fix staging url for official plugins

This was incorrectly setup in #19996, without the version in the staging
build id.
This commit is contained in:
Ryan Ernst 2016-08-18 23:06:14 -07:00
parent 8281a3ce79
commit 207d3a60e7
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ class InstallPluginCommand extends SettingCommand {
final String stagingHash = System.getProperty(PROPERTY_STAGING_ID);
if (stagingHash != null) {
url = String.format(Locale.ROOT,
"https://staging.elastic.co/%1$s/download/elasticsearch-plugins/%2$s/%2$s-%3$s.zip",
"https://staging.elastic.co/%3$s-%1$s/download/elasticsearch-plugins/%2$s/%2$s-%3$s.zip",
stagingHash, pluginId, version);
} else {
url = String.format(Locale.ROOT,