in src/app/teamcity/teamcity-service.js [30:46]
async getBuildInfo(
teamcityService, buildType, showLastSuccessful,
showLastPinned, tags, branch, path = ''
) {
const buildTypePart = `buildType:${buildType.id}`;
const statusPart = showLastSuccessful && 'status:SUCCESS';
const pinnedPart = `pinned:${showLastPinned ? true : 'any'}`;
const tagsPart = tags && `tags:${tags}`;
const branchPart = `branch:(${branch ? branch : 'default:true'})`;
const locator = [buildTypePart, statusPart, pinnedPart, branchPart, tagsPart].
filter(it => it).
join(',');
return await this._fetchTeamcity(
teamcityService,
`builds/${locator}${path}`
);
}