Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

How to retrieve a list of build info from RestApi #1225

alex-kim ·
Hi,
Is it possible to retrieve a list of build information from RestApi?
I'm writing some simple availability test scripts using curl.
curl displays detailed information showing the current value of configuration.

But I need to be able to do the following from the command line using curl:

buildlist
Build Number
Build URL
Build DATE
Build Result
build changelist (we're using Perforce for source control)

buildlist means root/projectA
/projectB
/ProjectC
.
.
.

for example:

buildlist :
***********************
root/projectA
root/projectB
root/projectC
QA/projectA
QA/projectB
release/projectC
***********************

build information :
***********************
Build Number : 3
Build URL : http://XX.XXX.XXX.XX:8810/root/projectA/3/
Build DATE : 2010-11-20 10:22
Build Result : SUCCESS
CL : 666413,666358
***********************

If so, how do I search for build information using the RestApi?
Could anyone offer some guidance?

thanks,
alex
  • replies 1
  • views 856
  • stars 0
robinshen ADMIN ·
1. Builds can be searched with syntax outlined in the "Search Builds" section of below link:
http://wiki.pmease.com/display/QB31/Int ... ith+Builds
2. The configuration id can be retrieved with below API:
http://wiki.pmease.com/display/QB31/Ret ... Identifier

Currently there is no easy way to get changes via RESTful API, and we will supplement it in next major release.