CompatibilityPolicy
Represents the policy that limit agents to building specific build configurations.
tip
Data type:
string
Example:
Returns whether the agent can run only builds of specific build configurations. Available values:
any — agents with this policy can run builds of any build configurations.
*selected — agents with this policy can only run builds of configurations stored in the `buildTypes` collection.
tip
Data type:
BuildTypes
Example:
Returns the list of build configurations whose builds can be processed by agents that follow this policy. If the `policy` property is any, this property returns null.
Below, you can find a full schema of this object, in XML and JSON formats. You can choose what fields to submit depending on your current needs. Different methods might expect different fields: the best approach is to request this entity via GET
and use the response as a base for the following POST
request.
A link to another object implies that you can substitute it with the schema of the linked object, if it is required for your call.
<compatibilityPolicy policy="string">
<buildTypes count="123" href="string" nextHref="string" prevHref="string">
<buildType>buildType...</buildType>
</buildTypes>
</compatibilityPolicy>
{
"buildTypes" : {
"buildType" : [ "buildType..." ],
"count" : 2,
"prevHref" : "prevHref",
"href" : "href",
"nextHref" : "nextHref"
},
"policy" : "policy"
}