username artifactoryUsername
password artifactoryPassword
}
+ url "https://repox.jfrog.io/repox/sonarsource-bucket"
+
+ patternLayout {
+ artifact '/[organisation]/[module]/[module]-[revision].[ext]'
+ }
} else {
- // Workaround for artifactory
- // https://www.jfrog.com/jira/browse/RTFACT-13797
- repository = 'public'
- }
- url "https://repox.jfrog.io/repox/sonarsource-bucket"
+ // For public build
+ url "https://artifacts.elastic.co/downloads/"
- patternLayout {
- artifact '/[organisation]/[module]/[module]-[revision].[ext]'
+ patternLayout {
+ artifact '/[organisation]/[module]-[revision].[ext]'
+ }
}
+
metadataSources { artifact() }
}
}
if (artifactoryUsername && artifactoryPassword) {
zipDist "sonarqube:elasticsearch:${elasticsearchVersion}-no-jdk-linux-x86_64@tar.gz"
} else {
- zipDist "sonarqube:elasticsearch:${elasticsearchVersion}-linux-x86_64@tar.gz"
+ zipDist "elasticsearch:elasticsearch:${elasticsearchVersion}-linux-x86_64@tar.gz"
}
}