diff options
author | Jacek Poreda <jacek.poreda@sonarsource.com> | 2023-02-22 10:39:50 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-02-22 20:03:04 +0000 |
commit | 0b71ed31d6624a23a4b597a9fdc85f95375d1e9c (patch) | |
tree | 88f48833eedf0e8e99bfb158752d340c78874b69 /sonar-application | |
parent | 294bda258ce44453fd7b9aae85b713551fa73f37 (diff) | |
download | sonarqube-0b71ed31d6624a23a4b597a9fdc85f95375d1e9c.tar.gz sonarqube-0b71ed31d6624a23a4b597a9fdc85f95375d1e9c.zip |
SONAR-17714 Fix elasticsearch/bin directory issue
Elasticsearch requires to not have empty elasticsearch/bin directory, hence we are excluding some of the scripts from the archive
Diffstat (limited to 'sonar-application')
-rw-r--r-- | sonar-application/build.gradle | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/sonar-application/build.gradle b/sonar-application/build.gradle index 6a9d0c34e75..1ee3a5be18f 100644 --- a/sonar-application/build.gradle +++ b/sonar-application/build.gradle @@ -154,7 +154,25 @@ task zip(type: Zip, dependsOn: [configurations.compileClasspath, downloadElastic fcd.relativePath = new RelativePath(true, *path) } into("${archiveDir}/elasticsearch") - exclude '**/bin/**' + exclude '**/bin/elasticsearch-certgen' + exclude '**/bin/elasticsearch-certutil' + exclude '**/bin/elasticsearch-create-enrollment-token' + exclude '**/bin/elasticsearch-croneval' + exclude '**/bin/elasticsearch-env-from-file' + exclude '**/bin/elasticsearch-geoip' + exclude '**/bin/elasticsearch-keystore' + exclude '**/bin/elasticsearch-node' + exclude '**/bin/elasticsearch-plugin' + exclude '**/bin/elasticsearch-reconfigure-node' + exclude '**/bin/elasticsearch-reset-password' + exclude '**/bin/elasticsearch-saml-metadata' + exclude '**/bin/elasticsearch-service-tokens' + exclude '**/bin/elasticsearch-setup-passwords' + exclude '**/bin/elasticsearch-shard' + exclude '**/bin/elasticsearch-sql-cli' + exclude '**/bin/elasticsearch-sql-cli-8.6.1.jar' + exclude '**/bin/elasticsearch-syskeygen' + exclude '**/bin/elasticsearch-users' exclude '**/jdk/**' exclude '**/lib/tools/plugin-cli' exclude '**/lib/tools/geoip-cli' |