use of jetbrains.buildServer.parameters.ValueResolver in project teamcity-git by JetBrains.
the class GitPathResolverImpl method resolveGitPath.
public String resolveGitPath(final BuildAgentConfiguration agentConfiguration, String pathToResolve) throws VcsException {
ValueResolver resolver = agentConfiguration.getParametersResolver();
ProcessingResult result = resolver.resolve(pathToResolve);
if (!result.isFullyResolved()) {
throw new VcsException("The value is not fully resolved: " + result.getResult());
}
return result.getResult();
}
Aggregations