aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-application/build.gradle')
-rw-r--r--sonar-application/build.gradle4
1 files changed, 4 insertions, 0 deletions
diff --git a/sonar-application/build.gradle b/sonar-application/build.gradle
index 4edfac54339..652f8febbbe 100644
--- a/sonar-application/build.gradle
+++ b/sonar-application/build.gradle
@@ -108,6 +108,10 @@ task zip(type: Zip, dependsOn: [configurations.compile, downloadElasticSearch, v
fcd.relativePath = new RelativePath(true, *path)
}
into("${archiveDir}/elasticsearch")
+ filesMatching('**/bin/elasticsearch-env') {
+ // to avoid warning logs
+ filter { line -> line.replaceAll('echo "warning: no-jdk distributions.*', ':') }
+ }
// elasticsearch script will be replaced by patched version below
exclude '**/bin/elasticsearch'
exclude '**/bin/elasticsearch-cli'