REST API call for Build details
I am trying to find who triggered a particular build in Build REST API call where I am using locator as Build Start date. Has anyone used this call with a field to give details about who triggered that build. I am able to retrieve Project name and build type name and status of that build by below Sample API call:
http://teamcity:8111/app/rest/builds?locator=state:finished,startDate:(date:20180601T000000%2B0100,condition:after),start:0,count:100&fields=build(status,buildType(name,projectName))
Please sign in to leave a comment.
I found the solution,
http://teamcity:8111/app/rest/builds?locator=state:finished,startDate:(date:20180601T000000%2B0100,condition:after),start:0,count:100&fields=build(status,triggered(user),buildType(name,projectName))