aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application
diff options
context:
space:
mode:
authorMatteo Mara <matteo.mara@sonarsource.com>2024-12-06 08:43:02 +0100
committersonartech <sonartech@sonarsource.com>2024-12-09 20:03:17 +0000
commit472ce41d22240984abeb126b9bcabfa6df61dea3 (patch)
tree6ec54b0ba3d80c32716dc5e318ce6a0438923be3 /sonar-application
parent2c970fe68235c69940832c4056774324a2dd1c10 (diff)
downloadsonarqube-472ce41d22240984abeb126b9bcabfa6df61dea3.tar.gz
sonarqube-472ce41d22240984abeb126b9bcabfa6df61dea3.zip
SONAR-23869 Update ElasticSearch repox upload to include all the OS specific platform folders
Diffstat (limited to 'sonar-application')
-rw-r--r--sonar-application/build.gradle4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-application/build.gradle b/sonar-application/build.gradle
index 96f2aee4523..2ab8d394b65 100644
--- a/sonar-application/build.gradle
+++ b/sonar-application/build.gradle
@@ -80,7 +80,7 @@ dependencies {
def artifactoryUsername = System.env.'ARTIFACTORY_PRIVATE_USERNAME' ?: (project.hasProperty('artifactoryUsername') ? project.getProperty('artifactoryUsername') : '')
def artifactoryPassword = System.env.'ARTIFACTORY_PRIVATE_PASSWORD' ?: (project.hasProperty('artifactoryPassword') ? project.getProperty('artifactoryPassword') : '')
if (artifactoryUsername && artifactoryPassword) {
- zipDist "sonarqube:elasticsearch:${elasticSearchServerVersion}-no-jdk-linux-x86_64@tar.gz"
+ zipDist "sonarqube:elasticsearch:${elasticSearchServerVersion}-no-jdk@tar.gz"
} else {
zipDist "elasticsearch:elasticsearch:${elasticSearchServerVersion}-linux-x86_64@tar.gz"
}
@@ -342,7 +342,7 @@ zip {
//When the archive size increases due to dependencies, the expected size should be updated as well.
//Bump the expected size by at least 10 more megabytes than what is strictly needed, this in conjunction with the
//tolerance will allow for some growth in the archive size.
- def expectedSize = 790_000_000
+ def expectedSize = 810_000_000
//We set a tolerance of 15MB to avoid failing the build for small differences in the archive size.
def tolerance = 15000000
def minArchiveSize = expectedSize - tolerance