I'm trying to select 50 builds within a configuration. I would like to filter out the builds that do not have published artifacts.
Here is an example of my query: http://teamcity:8111/app/rest/builds?count=50&locator=buildType:configA,running:false,canceled:any,branch:default:any,status:success,build(number,id,buildTypeId,startDate,branchName,changes(count,href,change),artifacts(count))
I've been trying to play with $locator(name:(value:(<regexp>),matchType:matches)) with no success.
Can anyone offer a suggestion?