Open ThorstenBruegge opened 6 years ago
Ok. Here are two problems:
releaseClient.GetReleaseDefinitionsAsync(projectName, expand: ReleaseDefinitionExpands.Environments)
First, I can't see the Environments status. Second, the ReleaseID and EnvironmentsID is wrong!
So first of all, I had to get the correct ReleaseID to get every release for it's own. Than can find the Environments status:
`// get a client for Release request
var releasesClient = Connection.GetClient
var releaseList = new List<Release>();
foreach (var item in releases)
{
var releaseId = item.Environments.FirstOrDefault().CurrentReleaseReference.Id;
var releaseDetails = releasesClient.GetReleaseAsync(projectName, releaseId).Result;
releaseList.Add(releaseDetails);
}`
Hey there,
I need to get the status of the environments. Something like: "inProgress", "failed", "succeeded"
When I use an http-request I can see the status
But now I want to use this official client library. I tried to get the info like this:
But here is no status in there. Is there a way to do it?