How to select a buildNumber by branch and by number that starts with some text using the API?
How to select a buildNumber by branch and by number that starts with some text using the API (2021.1.4 (build 92954))?
try
http://<server>/app/rest/builds/?locator=buildType:<build id>,branch:(name:<name>),status:SUCCESS,state:finished&fields=build(number($locator(value:<some text>,matchType:starts-with)))
and
http://<server>/app/rest/builds/?locator=buildType:<build id>,count:10,branch:(name:<name>),status:SUCCESS,state:finished,defaultFilter:false,property:(name:number,value:<some text>,matchType:starts-with)
but I get all builds by branch
Please sign in to leave a comment.