// Define the artifacts to be deployed to https://sonarsource.bintray.com on releases
clientConfig.info.addEnvironmentProperty('ARTIFACTS_TO_PUBLISH', "${project.group}:sonar-application:zip," +
"com.sonarsource.sonarqube:sonarqube-developer:zip," +
+ "com.sonarsource.sonarqube:sonarqube-datacenter:zip," +
"com.sonarsource.sonarqube:sonarqube-enterprise:zip," +
- "com.sonarsource.sonarqube:sonarqube-datacenter:zip")
+ "com.sonarsource.sonarqube:sonarcloud:zip")
// The name of this variable is important because it's used by the delivery process when extracting version from Artifactory build info.
clientConfig.info.addEnvironmentProperty('PROJECT_VERSION', "${version}")
}
}
}
-task zip(type: Zip) {
+task zip(type: Zip, dependsOn: [configurations.ce, configurations.scanner, configurations.server]) {
duplicatesStrategy DuplicatesStrategy.EXCLUDE
def archiveDir = "sonarqube-$version"