Question
REST API documentation for Build references resultingProperties, originalProperties, and startProperties. However, they are not returned when the GET /app/rest/builds/{buildLocator} endpoint is used. How can they be accessed?
Answer
The following endpoints should be used:
-
GET /app/rest/builds/{buildLocator}?fields=resultingProperties(*)— returns all parameters reported by an agent and their values by the time the build is finished. -
GET /app/rest/builds/{buildLocator}?fields=originalProperties(*)— returns user-defined parameters from the build configuration and their default values. -
GET /app/rest/builds/{buildLocator}?fields=startProperties(*)— returns all parameters reported by an agent and their values when the build started.
Comments
0 comments
Please sign in to leave a comment.