From d31dc75815b4668405009b9abe3e48262e3bb0d8 Mon Sep 17 00:00:00 2001 From: Malena Casas Date: Wed, 13 Nov 2024 23:48:11 -0300 Subject: [PATCH] Add control previously to list the content of the plugins directory --- build-scripts/assemble.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-scripts/assemble.sh b/build-scripts/assemble.sh index 779f6f2b1871d..06bf0d9783a9d 100644 --- a/build-scripts/assemble.sh +++ b/build-scripts/assemble.sh @@ -236,7 +236,6 @@ function install_plugins() { echo "Directory .m2/repository/org/opensearch/ doesn't exist" fi - ls la "~/.m2/repository/org/opensearch/" for plugin in "${plugins[@]}"; do echo "Plugin ${plugin}, version ${VERSION}" local plugin_from_maven="org.opensearch.plugin:${plugin}:${VERSION}.0" @@ -249,6 +248,7 @@ function install_plugins() { OPENSEARCH_PATH_CONF=$PATH_CONF "${PATH_BIN}/opensearch-plugin" install --batch --verbose "file:${maven_repo_local}/org/opensearch/plugin/${plugin}/${VERSION}.0/${plugin}-${VERSION}.0.zip" fi done + if [ -d "$PLUGIN_DIRECTORY" ]; then echo "Content of .m2/repository/org/opensearch/ post-install plugins of opensearch" ls -la "$PLUGIN_DIRECTORY"