Symptoms
According to the documentation, the customization property of Build API returns the list of settings that differentiate this build from a default build of the same build configuration. However, with the customized build, the response only shows that something was customized without listing the customized properties:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<build>
<customization>
<parameters/>
</customization>
</build>
Cause
This is a known issue: Implement customizations model for build entity in REST API.
Resolution
As a workaround, it is possible to request original, starting, and resulting values for parameters and compare them. Example:
GET /app/rest/builds/<Build ID>?fields=id,originalProperties($locator(name:<Parameter Name>),property(name,value)),startProperties($locator(name:<Parameter Name>),property(name,value)),resultingProperties($locator(name:<Parameter Name>),property(name,value))
Additional information
How to access resultingProperties, originalProperties, startProperties using REST API
Comments
0 comments
Please sign in to leave a comment.