in src/main/java/jetbrains/buildServer/investigationsAutoAssigner/utils/CustomParameters.java [116:138]
public List<String> getBuildProblemTypesToIgnore(final SBuild sBuild) {
final SBuildFeatureDescriptor sBuildFeature = getBuildFeatureDescriptor(sBuild);
if (sBuildFeature == null) {
return Collections.emptyList();
}
boolean shouldIgnoreCompilation = "true".equals(sBuildFeature.getParameters().get(Constants.SHOULD_IGNORE_COMPILATION_PROBLEMS));
boolean shouldIgnoreExitCode = "true".equals(sBuildFeature.getParameters().get(Constants.SHOULD_IGNORE_EXITCODE_PROBLEMS));
if (shouldIgnoreExitCode || shouldIgnoreCompilation) {
ArrayList<String> result = new ArrayList<>();
if (shouldIgnoreCompilation) {
result.add(BuildProblemTypes.TC_COMPILATION_ERROR_TYPE);
}
if (shouldIgnoreExitCode) {
result.add(BuildProblemTypes.TC_EXIT_CODE_TYPE);
}
return result;
}
return Collections.emptyList();
}