From c3063c4e1f59c0f2193c96e24f4d71e7afe06ea0 Mon Sep 17 00:00:00 2001 From: David Roberts Date: Thu, 31 Oct 2019 09:18:04 +0000 Subject: [PATCH] [ML] Make the URL of the ML C++ Ivy repo configurable (#48702) At present the ML C++ artifact is always downloaded from S3. This change adds an option to configure the location. (The intention is to use a file:/// URL to pick up the artifact built in a Docker container in ml-cpp PR builds so that C++ changes that will break Java integration tests can be detected before the ml-cpp PRs are merged.) Relates elastic/ml-cpp#766 --- x-pack/plugin/ml/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugin/ml/build.gradle b/x-pack/plugin/ml/build.gradle index 9f03ba2af9f..6e7078d8361 100644 --- a/x-pack/plugin/ml/build.gradle +++ b/x-pack/plugin/ml/build.gradle @@ -13,7 +13,7 @@ esplugin { repositories { ivy { name "ml-cpp" - url "https://prelert-artifacts.s3.amazonaws.com" + url System.getProperty('build.ml_cpp.repo', 'https://prelert-artifacts.s3.amazonaws.com') metadataSources { // no repository metadata, look directly for the artifact artifact()