Build: Add buildserver.labs.intellij.net to valid hosts in caching check

This commit is contained in:
Vyacheslav Gerasimov
2020-01-27 19:14:54 +03:00
parent b64c7cce84
commit 5195cc8c12

View File

@@ -108,8 +108,10 @@ fun RepositoryHandler.redirect() {
}
}
// teamcity.jetbrains.com is located in the same local network with build agents
fun URI.isCachedOrLocal() = host == "cache-redirector.jetbrains.com" || scheme == "file" || host == "teamcity.jetbrains.com"
fun URI.isCachedOrLocal() = scheme == "file" ||
host == "cache-redirector.jetbrains.com" ||
host == "teamcity.jetbrains.com" ||
host == "buildserver.labs.intellij.net"
fun RepositoryHandler.findNonCachedRepositories(): List<String> {
val mavenNonCachedRepos = filterIsInstance<MavenArtifactRepository>()