in teamcity-symbol-server/src/main/java/jetbrains/buildServer/symbols/SymbolsIndexerParametersPreprocessor.java [64:89]
private boolean acceptBuildBranch(@NotNull final SBuild build, final String branchFilter) {
if (StringUtil.isEmpty(branchFilter)) {
return true;
}
final Branch branch = build.getBranch();
if (branch == null) {
return false;
}
final BranchFilter filter;
try {
filter = mySpecs.createFilter(branchFilter);
} catch (InvalidBranchSpecException e) {
LOG.warnAndDebugDetails("branch filter error in " + LogUtil.describe(build.getBuildType()), e);
return false;
}
if (!filter.accept(branch)) {
LOG.info("Indexing of symbols and sources is skipped for build " + LogUtil.describe(build) +
". Reason: branch filter \"" + branchFilter + "\" does not accept build branch \"" + branch + "\"");
return false;
}
return true;
}