This documentation relates to QuickBuild 6.1.x
Select here if you are using a different version

Get User Attributes of Grid Node

You are viewing an old version (v. 1) of this page.
The latest version is v. 3, last edited on Jun 30, 2016 (view differences | )
view page history | view next version >>

System attributes of grid node can be fetched via RESTful call.

This feature is available since QuickBuild 5.1.22

Syntax

System attributes can be fetched by accessing below url:

http://localhost:8810/rest/system_attributes/<node address>

Here <node address> should be replaced with address of the grid node, for instance: agent:8811. The response is of mime type text/xml and the content is XML representation of system attributes for specified grid node.

Security

You will need to use http BASIC authentication to login as administrator to get system attributes of a grid node.

Demo

We use curl to demonstrate how to get system attributes:

  1. Connect a build agent to your grid and get it authorized. Assume the agent address is agent1:8811.
  2. Run below command:
    curl -u admin:admin http://<QB server>:8810/rest/system_attributes/agent1:8811
  3. If above command succeeds, XML representation of the system attributes map will be printed.
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.