Agent
Represents a known agent instance.
Related Help article: Build Agent
tip
Data type:
integer
Example:771
An integer value that is the unique agent identificator.
tip
Data type:
string
Example:Ubuntu-22.04-Large-i-045902939eae4af1a
The public agent name. Cloud agent names are typically formed by appending the unique instance name to the parent cloud profile name.
tip
Data type:
integer
Example:661
Returns the unique ID of the agent category. Local standalone have unique type IDs whereas cloud agents spawned from the same cloud image have the same type ID.
tip
Data type:
boolean
Example:true
Returns true if the agent is connected to the TeamCity server; otherwise, false. Connected agents are those that can communicate with the TeamCity server.
tip
Data type:
boolean
Example:true
Returns true if the agent is enabled; otherwise, false. Enabled agents are those that are ready to process new bulds.
Send PUT
requests to the /app/rest/agents/{agentLocator}/enabledInfo
endpoint to manually enable or disable agents.
tip
Data type:
boolean
Example:true
Returns true if the agent is authorized on the server; otherwise, false. Authorized agents are those that are granted permission to execute building tasks on this TeamCity server.
Send PUT
requests to the /app/rest/agents/{agentLocator}/authorizedInfo
endpoint to manually authorize or unauthorize agents.
tip
Data type:
boolean
Example:false
Returns true if both outdated
and pluginsOutdated
properties return false; false if any of these properties returns true.
tip
Data type:
boolean
Example:true
Returns true for outdated agents that require an update; false for agents that are up to date. Agents typically update their software automatically and do not require any actions from your side.
tip
Data type:
boolean
Example:false
Returns false if all plugins installed on this agent are of the latest version; true if some of plugins are outdated. Plugins installed from the JetBrains Marketplace are typically updated automatically.
tip
Data type:
boolean
Example:false
Returns true the Java version installed on the agent machine is outdated; otherwise, false.
tip
Data type:
string
Example:52.211.39.100
The IP address of the agent machine.
tip
Data type:
string
Example:
Returns the agent-server communication protocol type:
unidirectional — the default one-way communication protocol. Unidirectional agents establish an HTTP(S) connection to the TeamCity server, and periodically poll it for server commands.
bidirectional — no longer supported in TeamCity 2021.2 and newer.
tip
Data type:
string
Example:156364
The actual version of the agent software or 'unknown' if the agent is disconnected. If this version differs from the version expected by the server (the currentAgentVersion
property), the agent is considered outdated.
tip
Data type:
string
Example:160569
The version of the agent software that is expected by the current TeamCity server. Matches the build number of this server (can be obtained from the /app/rest/server/build
endpoint).
tip
Data type:
string
Example:20240816T151123+0200
The timestamp of the last comminication between this agent and the TeamCity server.
To get the last time this agent performed an activity different from periodic server polling (for example, ran a build), use the idleSinceTime
property instead.
tip
Data type:
string
Example:20240816T150655+0200
The timestamp of the last meaningful agent activity (for example, running a build). For agents that never ran a build after they were authorized by the server, this timestamp is typically equal to the registrationTimestamp
property value.
tip
Data type:
string
Example:Unregistered because of inactivity
The summary that explains why this agent was disconnected. Returns null
for connected agents.
tip
Data type:
string
Example:20240816T150655+0200
The timestamp of the first successful agent authorization on this server.
tip
Data type:
string
Example:ip-52-211-39-10.eu-west-1.compute.internal, localhost
The name of the agent machine host.
tip
Data type:
integer
Example:396
An integer value that is the benchmarking score of the agent machine's CPU.
tip
Data type:
integer
Example:9090
The port used by the TeamCity server to connect to the agent.
tip
Data type:
string
Example:/app/rest/agents/id:771
Returns the shortened (without the server URL) link to the current agent. To obtain the full URL, use the webUrl property instead.
tip
Data type:
string
Example:https://example.com/agentDetails.html?id=771&agentTypeId=11389&realAgentName=db-win-2003
Returns the full web link to access this agent. To get a shortened link without the server URL, read the href property instead.
tip
Data type:
Build
Example:
Returns the build currently processed by this agent, or null if the agent is idle.
tip
Data type:
Links
Example:
Returns the collection of links to this build.
tip
Data type:
EnabledInfo
Example:
An EnabledInfo object that stores the information about the agent availability: the current state, the scheduled time this state should automatically flip (for temporarily disabled agents), and metadata related to the last time this state was modified (the timestamp, the user who did it, and their optional comment).
Send PUT
requests to the /app/rest/agents/{agentLocator}/enabledInfo
endpoint to manually enable or disable agents.
tip
Data type:
AuthorizedInfo
Example:
An AuthorizedInfo object that returns the current agent authorization state and the metadata related to the last time this state was changed (the timestamp, the user who did it, and their optional comment).
Send PUT
requests to the /app/rest/agents/{agentLocator}/authorizedInfo
endpoint to manually authorize or unauthorize agents.
tip
Data type:
Properties
Example:
The list of all standard and custom parameters known to the agent.
tip
Data type:
CloudInstance
Example:
The cloud instance that runs this agent. A cloud instance is an individual cloud machine spawned from a cloud image.
Cloud instance objects store infrastructure information about the agent's machine: its network address, state (starting, running or stopped), errors that prevent it from starting, and so on.
tip
Data type:
CloudImage
Example:
The cloud image that spawned a cloud instance on which the current agent runs.
tip
Data type:
Environment
Example:
Returns an object that stores the agent machine's OS version and type
tip
Data type:
AgentPool
Example:
Returns an object that specifies the pool to which this agent belongs.
Send a POST
request to the /app/rest/agentPools/{agentPoolLocator}/agents
endpoint to move an agent to a different pool.
tip
Data type:
CompatibilityPolicy
Example:
Returns whether the agent can run only builds of specific build configurations.
If the agent can run builds of any compatible configuration (the default behavior), the
compatibilityPolicy.policy
property returns 'any' andcompatibilityPolicy.buildTypes
is null.If the agent has specific build configurations assigned to it, the
compatibilityPolicy.policy
property is 'selected' and thecompatibilityPolicy.buildTypes
list returns these assigned build configurations.
tip
Data type:
BuildTypes
Example:
Returns the list of all build configurations whose builds can be processed by this agent. An agent can be incompatible with specific build configurations if it does not meet agent requirements of these configurations.
tip
Data type:
Compatibilities
Example:
Returns all build configurations incompatible with this agent as a list of Compatibility objects. Each Compatibility
object includes a BuildType
instance that represents an incompatible configuration and a list of unmet requirements (the Requirements object).
tip
Data type:
Builds
Example:
The build history of this agent (the list of builds processed by it).
tip
Data type:
string
Example:
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.
<agent authorized="true" connected="true" cpuRank="396" currentAgentVersion="160569" disconnectionComment="Unregistered because of inactivity" enabled="true" host="ip-52-211-39-10.eu-west-1.compute.internal, localhost" href="/app/rest/agents/id:771" id="771" idleSinceTime="20240816T150655+0200" ip="52.211.39.100" javaOutdated="false" lastActivityTime="20240816T151123+0200" locator="string" name="Ubuntu-22.04-Large-i-045902939eae4af1a" outdated="true" pluginsOutdated="false" port="9090" protocol="string" registrationTimestamp="20240816T150655+0200" typeId="661" uptodate="false" version="156364" webUrl="https://example.com/agentDetails.html?id=771&agentTypeId=11389&realAgentName=db-win-2003">
<build artifactsDirectory="/Users/John.Doe/.BuildServer/system/artifacts/ProjectName/ConfigName/1337" branchName="sandbox" buildTypeId="ProjectName_BuildConfName" buildTypeInternalId="string" chainModificationId="string" changesCollectingInProgress="false" composite="false" currentSettingsHash="string" customized="true" defaultBranch="true" detachedFromAgent="false" failedToStart="true" finishDate="20240408T162702+0200" finishEstimate="20240409T160130+0200" finishOnAgentDate="20240408T162702+0200" history="true" href="/app/rest/builds/id:8006" id="8134" limitedChangesCount="3" locator="string" modificationId="string" number="54" percentageComplete="123" personal="true" pinned="true" queuePosition="2" queuedDate="20240408T162059+0200" running="true" settingsHash="string" startDate="20240408T162559+0200" startEstimate="20240409T155123+0200" state="queued" status="SUCCESS" statusText="Tests passed: 5, muted: 1" taskId="123456789" unspecifiedBranch="false" usedByOtherBuilds="true" waitReason="There are no idle compatible agents which can run this build" webUrl="https://example.com/app/rest/builds/id:8006">
<links>links...</links>
<buildType>buildType...</buildType>
<comment>comment...</comment>
<tags>tags...</tags>
<pinInfo>comment...</pinInfo>
<user>user...</user>
<delayedByBuild>build...</delayedByBuild>
<plannedAgent>agent...</plannedAgent>
<approvalInfo>approvalInfo...</approvalInfo>
<running-info>progress-info...</running-info>
<canceledInfo>comment...</canceledInfo>
<triggered>TriggeredBy...</triggered>
<lastChanges>changes...</lastChanges>
<changes>changes...</changes>
<revisions>Revisions...</revisions>
<versionedSettingsRevision>Revision...</versionedSettingsRevision>
<artifactDependencyChanges>buildChanges...</artifactDependencyChanges>
<agent>agent...</agent>
<compatibleAgents>agents...</compatibleAgents>
<compatibleCloudImages>cloudImages...</compatibleCloudImages>
<testOccurrences>testOccurrences...</testOccurrences>
<problemOccurrences>problemOccurrences...</problemOccurrences>
<artifacts>files...</artifacts>
<relatedIssues>issuesUsages...</relatedIssues>
<properties>properties...</properties>
<resultingProperties>properties...</resultingProperties>
<originalProperties>properties...</originalProperties>
<startProperties>properties...</startProperties>
<attributes>entries...</attributes>
<statistics>properties...</statistics>
<metadata>datas...</metadata>
<snapshot-dependencies>builds...</snapshot-dependencies>
<artifact-dependencies>builds...</artifact-dependencies>
<custom-artifact-dependencies>artifact-dependencies...</custom-artifact-dependencies>
<replacementIds>items...</replacementIds>
<related>related...</related>
<triggeringOptions>buildTriggeringOptions...</triggeringOptions>
<statusChangeComment>comment...</statusChangeComment>
<vcsLabels>vcsLabel...</vcsLabels>
<customization>customizations...</customization>
<queuedWaitReasons>properties...</queuedWaitReasons>
<downloadedArtifacts>downloadedArtifacts...</downloadedArtifacts>
<matrixConfiguration>MatrixConfiguration...</matrixConfiguration>
<firstBuildWithSameChanges>build...</firstBuildWithSameChanges>
</build>
<links count="123">
<link>link...</link>
</links>
<enabledInfo status="true" statusSwitchTime="string">
<comment>comment...</comment>
</enabledInfo>
<authorizedInfo status="true">
<comment>comment...</comment>
</authorizedInfo>
<properties count="123" href="string">
<property>property...</property>
</properties>
<cloudInstance errorMessage="string" href="string" id="string" name="string" networkAddress="string" startDate="string" state="string">
<image>cloudImage...</image>
<agent>agent...</agent>
</cloudInstance>
<cloudImage agentPoolId="123" agentTypeId="123" errorMessage="string" href="string" id="string" locator="string" name="string" operatingSystemName="string">
<profile>cloudProfile...</profile>
<instances>cloudInstances...</instances>
</cloudImage>
<environment osName="Mac OS X, version 13.6" osType="macOS"/>
<pool href="/app/rest/agentPools/id:82" id="31" locator="string" maxAgents="10" name="Kubernetes">
<ownerProject>project...</ownerProject>
<projects>projects...</projects>
<agents>agents...</agents>
<agentTypes>agentTypes...</agentTypes>
</pool>
<compatibilityPolicy policy="string">
<buildTypes>buildTypes...</buildTypes>
</compatibilityPolicy>
<compatibleBuildTypes count="123" href="string" nextHref="string" prevHref="string">
<buildType>buildType...</buildType>
</compatibleBuildTypes>
<incompatibleBuildTypes count="10">
<compatibility>compatibility...</compatibility>
</incompatibleBuildTypes>
<builds count="12" href="/app/rest/builds?locator=buildType:Project_Config&fields=count,href" nextHref="/app/rest/builds?locator=count:200,start:250,state:finished" prevHref="/app/rest/builds?locator=count:50,start:0,state:finished">
<build>build...</build>
</builds>
</agent>
{
"disconnectionComment" : "Unregistered because of inactivity",
"idleSinceTime" : "20240816T150655+0200",
"enabledInfo" : {
"statusSwitchTime" : "statusSwitchTime",
"comment" : {
"text" : "text",
"user" : "user...",
"timestamp" : "timestamp"
},
"status" : true
},
"cpuRank" : 396,
"enabled" : true,
"compatibleBuildTypes" : {
"buildType" : [ "buildType..." ],
"count" : 4,
"prevHref" : "prevHref",
"href" : "href",
"nextHref" : "nextHref"
},
"protocol" : "unidirectional",
"outdated" : true,
"authorized" : true,
"host" : "ip-52-211-39-10.eu-west-1.compute.internal, localhost",
"builds" : {
"build" : [ {
"agent" : "agent...",
"metadata" : "datas...",
"triggered" : "TriggeredBy...",
"usedByOtherBuilds" : true,
"settingsHash" : "settingsHash",
"number" : "54",
"chainModificationId" : "chainModificationId",
"changesCollectingInProgress" : false,
"lastChanges" : "changes...",
"resultingProperties" : "properties...",
"composite" : false,
"links" : "links...",
"id" : 8134,
"state" : "queued",
"href" : "/app/rest/builds/id:8006",
"detachedFromAgent" : false,
"compatibleCloudImages" : "cloudImages...",
"artifacts" : "files...",
"testOccurrences" : "testOccurrences...",
"artifactDependencyChanges" : "buildChanges...",
"startProperties" : "properties...",
"defaultBranch" : true,
"compatibleAgents" : "agents...",
"artifact-dependencies" : "builds...",
"replacementIds" : "items...",
"personal" : true,
"history" : true,
"tags" : "tags...",
"canceledInfo" : "comment...",
"matrixConfiguration" : "MatrixConfiguration...",
"running-info" : "progress-info...",
"versionedSettingsRevision" : "Revision...",
"percentageComplete" : 6,
"webUrl" : "https://example.com/app/rest/builds/id:8006",
"buildType" : "buildType...",
"triggeringOptions" : "buildTriggeringOptions...",
"locator" : "locator",
"startDate" : "20240408T162559+0200",
"status" : "SUCCESS",
"pinned" : true,
"customized" : true,
"approvalInfo" : "approvalInfo...",
"vcsLabels" : [ "vcsLabel..." ],
"customization" : "customizations...",
"finishEstimate" : "20240409T160130+0200",
"changes" : "changes...",
"plannedAgent" : "agent...",
"running" : true,
"statusChangeComment" : "comment...",
"finishOnAgentDate" : "20240408T162702+0200",
"buildTypeId" : "ProjectName_BuildConfName",
"buildTypeInternalId" : "buildTypeInternalId",
"originalProperties" : "properties...",
"modificationId" : "modificationId",
"related" : "related...",
"failedToStart" : true,
"revisions" : "Revisions...",
"delayedByBuild" : "build...",
"queuePosition" : 2,
"problemOccurrences" : "problemOccurrences...",
"artifactsDirectory" : "/Users/John.Doe/.BuildServer/system/artifacts/ProjectName/ConfigName/1337",
"relatedIssues" : "issuesUsages...",
"branchName" : "sandbox",
"startEstimate" : "20240409T155123+0200",
"downloadedArtifacts" : "downloadedArtifacts...",
"limitedChangesCount" : 3,
"firstBuildWithSameChanges" : "build...",
"currentSettingsHash" : "currentSettingsHash",
"unspecifiedBranch" : false,
"queuedWaitReasons" : "properties...",
"waitReason" : "There are no idle compatible agents which can run this build",
"pinInfo" : "comment...",
"snapshot-dependencies" : "builds...",
"statusText" : "Tests passed: 5, muted: 1",
"custom-artifact-dependencies" : "artifact-dependencies...",
"comment" : "comment...",
"finishDate" : "20240408T162702+0200",
"attributes" : "entries...",
"user" : "user...",
"queuedDate" : "20240408T162059+0200",
"taskId" : 9,
"properties" : "properties...",
"statistics" : "properties..."
} ],
"count" : 12,
"prevHref" : "/app/rest/builds?locator=count:50,start:0,state:finished",
"href" : "/app/rest/builds?locator=buildType:Project_Config&fields=count,href",
"nextHref" : "/app/rest/builds?locator=count:200,start:250,state:finished"
},
"links" : {
"count" : 8,
"link" : [ "link..." ]
},
"id" : 771,
"href" : "/app/rest/agents/id:771",
"cloudImage" : {
"agentPoolId" : 6,
"instances" : "cloudInstances...",
"agentTypeId" : 4,
"profile" : "cloudProfile...",
"name" : "name",
"errorMessage" : "errorMessage",
"id" : "id",
"href" : "href",
"operatingSystemName" : "operatingSystemName",
"locator" : "locator"
},
"authorizedInfo" : {
"comment" : {
"text" : "text",
"user" : "user...",
"timestamp" : "timestamp"
},
"status" : true
},
"incompatibleBuildTypes" : {
"count" : 10,
"compatibility" : [ {
"compatible" : true,
"agent" : "agent...",
"buildType" : "buildType...",
"unmetRequirements" : "requirements..."
} ]
},
"uptodate" : false,
"ip" : "52.211.39.100",
"pool" : {
"projects" : {
"count" : 1,
"project" : [ "project..." ],
"prevHref" : "prevHref",
"href" : "href",
"nextHref" : "nextHref"
},
"maxAgents" : 10,
"ownerProject" : {
"virtual" : true,
"parentProjectName" : "parentProjectName",
"vcsRoots" : {
"count" : 0,
"vcs-root" : [ "vcs-root..." ],
"prevHref" : "prevHref",
"href" : "href",
"nextHref" : "nextHref"
},
"projects" : {
"count" : 1,
"project" : [ "project..." ],
"prevHref" : "prevHref",
"href" : "href",
"nextHref" : "nextHref"
},
"defaultTemplate" : {
"template" : "buildType...",
"paused" : true,
"description" : "description",
"project" : "project...",
"investigations" : "investigations...",
"templateFlag" : true,
"type" : "regular",
"uuid" : "uuid",
"projectInternalId" : "projectInternalId",
"internalId" : "internalId",
"features" : "features...",
"builds" : "builds...",
"links" : "links...",
"id" : "id",
"href" : "href",
"compatibleCloudImages" : "cloudImages...",
"settings" : "properties...",
"vcsRootInstances" : "vcs-root-instances...",
"templates" : "buildTypes...",
"artifact-dependencies" : "artifact-dependencies...",
"compatibleAgents" : "agents...",
"pauseComment" : "comment...",
"triggers" : "triggers...",
"branches" : "branches...",
"steps" : "steps...",
"externalStatusAllowed" : true,
"agent-requirements" : "agent-requirements...",
"webUrl" : "webUrl",
"inherited" : true,
"snapshot-dependencies" : "snapshot-dependencies...",
"name" : "name",
"vcs-root-entries" : "vcs-root-entries...",
"projectName" : "projectName",
"projectId" : "projectId",
"parameters" : "properties...",
"locator" : "locator"
},
"description" : "description",
"uuid" : "uuid",
"parentProjectInternalId" : "parentProjectInternalId",
"cloudProfiles" : {
"count" : 8,
"prevHref" : "prevHref",
"href" : "href",
"cloudProfile" : [ "cloudProfile..." ],
"nextHref" : "nextHref"
},
"internalId" : "internalId",
"archived" : true,
"parentProjectId" : "parentProjectId",
"deploymentDashboards" : {
"count" : 3,
"deploymentDashboard" : [ "deploymentDashboard..." ],
"prevHref" : "prevHref",
"href" : "href",
"nextHref" : "nextHref"
},
"links" : {
"count" : 8,
"link" : [ "link..." ]
},
"id" : "id",
"href" : "href",
"parentProject" : {
"virtual" : true,
"parentProjectName" : "parentProjectName",
"vcsRoots" : "vcs-roots...",
"projects" : "projects...",
"defaultTemplate" : "buildType...",
"description" : "description",
"uuid" : "uuid",
"parentProjectInternalId" : "parentProjectInternalId",
"cloudProfiles" : "cloudProfiles...",
"internalId" : "internalId",
"archived" : true,
"parentProjectId" : "parentProjectId",
"deploymentDashboards" : "deploymentDashboards...",
"links" : "links...",
"id" : "id",
"href" : "href",
"parentProject" : "project...",
"templates" : "buildTypes...",
"readOnlyUI" : "StateField...",
"webUrl" : "webUrl",
"buildTypes" : "buildTypes...",
"name" : "name",
"ancestorProjects" : "projects...",
"parameters" : "properties...",
"projectFeatures" : "projectFeatures...",
"locator" : "locator"
},
"templates" : {
"buildType" : [ "buildType..." ],
"count" : 4,
"prevHref" : "prevHref",
"href" : "href",
"nextHref" : "nextHref"
},
"readOnlyUI" : {
"inherited" : true,
"value" : true
},
"webUrl" : "webUrl",
"buildTypes" : {
"buildType" : [ "buildType..." ],
"count" : 4,
"prevHref" : "prevHref",
"href" : "href",
"nextHref" : "nextHref"
},
"name" : "name",
"ancestorProjects" : {
"count" : 1,
"project" : [ "project..." ],
"prevHref" : "prevHref",
"href" : "href",
"nextHref" : "nextHref"
},
"parameters" : {
"count" : 1,
"property" : [ {
"inherited" : true,
"name" : "name",
"type" : "type...",
"value" : "value"
} ],
"href" : "href"
},
"projectFeatures" : {
"projectFeature" : [ "projectFeature..." ],
"count" : 2,
"href" : "href"
},
"locator" : "locator"
},
"name" : "Kubernetes",
"id" : 31,
"href" : "/app/rest/agentPools/id:82",
"locator" : "locator",
"agents" : {
"agent" : [ "agent..." ],
"count" : 7,
"prevHref" : "/app/rest/agents?locator=count:50,start:0",
"href" : "/app/rest/agents",
"nextHref" : "/app/rest/agents?locator=count:200,start:250"
},
"agentTypes" : {
"agentType" : [ "agentType..." ],
"count" : 1,
"prevHref" : "/app/rest/agentTypes?locator=count:50,start:0",
"href" : "/app/rest/agentTypes",
"nextHref" : "/app/rest/agentTypes?locator=count:200,start:250"
}
},
"cloudInstance" : {
"image" : {
"agentPoolId" : 6,
"instances" : "cloudInstances...",
"agentTypeId" : 4,
"profile" : "cloudProfile...",
"name" : "name",
"errorMessage" : "errorMessage",
"id" : "id",
"href" : "href",
"operatingSystemName" : "operatingSystemName",
"locator" : "locator"
},
"agent" : {
"disconnectionComment" : "Unregistered because of inactivity",
"idleSinceTime" : "20240816T150655+0200",
"enabledInfo" : "enabledInfo...",
"cpuRank" : 396,
"enabled" : true,
"compatibleBuildTypes" : "buildTypes...",
"protocol" : "unidirectional",
"outdated" : true,
"authorized" : true,
"host" : "ip-52-211-39-10.eu-west-1.compute.internal, localhost",
"builds" : "builds...",
"links" : "links...",
"id" : 771,
"href" : "/app/rest/agents/id:771",
"cloudImage" : "cloudImage...",
"authorizedInfo" : "authorizedInfo...",
"incompatibleBuildTypes" : "compatibilities...",
"uptodate" : false,
"ip" : "52.211.39.100",
"pool" : "agentPool...",
"cloudInstance" : "cloudInstance...",
"version" : "156364",
"connected" : true,
"currentAgentVersion" : "160569",
"compatibilityPolicy" : "compatibilityPolicy...",
"registrationTimestamp" : "20240816T150655+0200",
"environment" : "environment...",
"pluginsOutdated" : false,
"port" : 9090,
"build" : "build...",
"webUrl" : "https://example.com/agentDetails.html?id=771&agentTypeId=11389&realAgentName=db-win-2003",
"name" : "Ubuntu-22.04-Large-i-045902939eae4af1a",
"typeId" : 661,
"lastActivityTime" : "20240816T151123+0200",
"locator" : "locator",
"properties" : "properties...",
"javaOutdated" : false
},
"name" : "name",
"errorMessage" : "errorMessage",
"id" : "id",
"state" : "state",
"href" : "href",
"networkAddress" : "networkAddress",
"startDate" : "startDate"
},
"version" : "156364",
"connected" : true,
"currentAgentVersion" : "160569",
"compatibilityPolicy" : {
"buildTypes" : {
"buildType" : [ "buildType..." ],
"count" : 4,
"prevHref" : "prevHref",
"href" : "href",
"nextHref" : "nextHref"
},
"policy" : "policy"
},
"registrationTimestamp" : "20240816T150655+0200",
"environment" : {
"osType" : "macOS",
"osName" : "Mac OS X, version 13.6"
},
"pluginsOutdated" : false,
"port" : 9090,
"build" : {
"agent" : "agent...",
"metadata" : "datas...",
"triggered" : "TriggeredBy...",
"usedByOtherBuilds" : true,
"settingsHash" : "settingsHash",
"number" : "54",
"chainModificationId" : "chainModificationId",
"changesCollectingInProgress" : false,
"lastChanges" : "changes...",
"resultingProperties" : "properties...",
"composite" : false,
"links" : "links...",
"id" : 8134,
"state" : "queued",
"href" : "/app/rest/builds/id:8006",
"detachedFromAgent" : false,
"compatibleCloudImages" : "cloudImages...",
"artifacts" : "files...",
"testOccurrences" : "testOccurrences...",
"artifactDependencyChanges" : "buildChanges...",
"startProperties" : "properties...",
"defaultBranch" : true,
"compatibleAgents" : "agents...",
"artifact-dependencies" : "builds...",
"replacementIds" : "items...",
"personal" : true,
"history" : true,
"tags" : "tags...",
"canceledInfo" : "comment...",
"matrixConfiguration" : "MatrixConfiguration...",
"running-info" : "progress-info...",
"versionedSettingsRevision" : "Revision...",
"percentageComplete" : 6,
"webUrl" : "https://example.com/app/rest/builds/id:8006",
"buildType" : "buildType...",
"triggeringOptions" : "buildTriggeringOptions...",
"locator" : "locator",
"startDate" : "20240408T162559+0200",
"status" : "SUCCESS",
"pinned" : true,
"customized" : true,
"approvalInfo" : "approvalInfo...",
"vcsLabels" : [ "vcsLabel..." ],
"customization" : "customizations...",
"finishEstimate" : "20240409T160130+0200",
"changes" : "changes...",
"plannedAgent" : "agent...",
"running" : true,
"statusChangeComment" : "comment...",
"finishOnAgentDate" : "20240408T162702+0200",
"buildTypeId" : "ProjectName_BuildConfName",
"buildTypeInternalId" : "buildTypeInternalId",
"originalProperties" : "properties...",
"modificationId" : "modificationId",
"related" : "related...",
"failedToStart" : true,
"revisions" : "Revisions...",
"delayedByBuild" : "build...",
"queuePosition" : 2,
"problemOccurrences" : "problemOccurrences...",
"artifactsDirectory" : "/Users/John.Doe/.BuildServer/system/artifacts/ProjectName/ConfigName/1337",
"relatedIssues" : "issuesUsages...",
"branchName" : "sandbox",
"startEstimate" : "20240409T155123+0200",
"downloadedArtifacts" : "downloadedArtifacts...",
"limitedChangesCount" : 3,
"firstBuildWithSameChanges" : "build...",
"currentSettingsHash" : "currentSettingsHash",
"unspecifiedBranch" : false,
"queuedWaitReasons" : "properties...",
"waitReason" : "There are no idle compatible agents which can run this build",
"pinInfo" : "comment...",
"snapshot-dependencies" : "builds...",
"statusText" : "Tests passed: 5, muted: 1",
"custom-artifact-dependencies" : "artifact-dependencies...",
"comment" : "comment...",
"finishDate" : "20240408T162702+0200",
"attributes" : "entries...",
"user" : "user...",
"queuedDate" : "20240408T162059+0200",
"taskId" : 9,
"properties" : "properties...",
"statistics" : "properties..."
},
"webUrl" : "https://example.com/agentDetails.html?id=771&agentTypeId=11389&realAgentName=db-win-2003",
"name" : "Ubuntu-22.04-Large-i-045902939eae4af1a",
"typeId" : 661,
"lastActivityTime" : "20240816T151123+0200",
"locator" : "locator",
"properties" : {
"count" : 1,
"property" : [ {
"inherited" : true,
"name" : "name",
"type" : "type...",
"value" : "value"
} ],
"href" : "href"
},
"javaOutdated" : false
}
Thanks for your feedback!