TeamCity REST API - List builds based on build parameters -
i've added configuration parameter build configuration on team city instance called "client".
this parameter supplied every build, , can viewed under header user defined parameters , actual parameters on agent in parameters tab given build (along other parameters e.g. build.number, teamcity.project.id etc).
i can access parameter build -
server:port/httpauth/app/rest/builds/id:xxx/resulting-properties/client
let's went builds client google. have build configuration id if helps any.
i've searched high , low in documentation. possible?
you can use following request:
http://teamcity/app/rest/builds/?locator=property:(name:<name>,value:<value>),lookuplimit:1000
the search restricted 1000 recent builds otherwise request can quite slow , loading server.
Comments
Post a Comment