Snapshot dependency missing in API build details

Completed

Hi,

We have a build configuration for example CA that has direct snapshot dependency on configuration CB

We have a build BA with ID 1

When we query /app/rest/buildTypes/id:CA/snapshot-dependencies then the dependency is there

When we go to /viewLog.html?buildId=1&tab=buildResultsDiv&buildTypeId=CA then we see CB listed among Snapshot dependencies of that particular build

But when we query /app/rest/buildTypes/id:CA/builds/id:1 for the build then the dependency is not there

Version is 2019.1.1, I went through release logs of following versions and could not find anything relevant

Is this an issue on our side? Or a bug?

Thank you

 

0
1 comment

Hi, may I please ask you to provide us with a screenshot of "Build Chains" page of your CA build?

I tried reproducing your issue, but when I request 

app/rest/buildTypes/id:TestProject_AB/builds/id:18

In my similar test setup, REST API returns following section in the response: 

<snapshot-dependencies count="2">
  <build id="16" buildTypeId="TestProject_BuildA" number="13" status="SUCCESS" state="finished" href="/httpAuth/app/rest/builds/id:16" webUrl="http://localhost:8111/viewLog.html?buildId=16&buildTypeId=TestProject_BuildA"/>
<build id="17" buildTypeId="TestProject_BuildB" number="1" status="SUCCESS" state="finished" href="/httpAuth/app/rest/builds/id:17" webUrl="http://localhost:8111/viewLog.html?buildId=17&buildTypeId=TestProject_BuildB"/>
</snapshot-dependencies>

0

Please sign in to leave a comment.