2

I am tasked to verify why expired builds are not deleted in my company's locally hosted Azure DevOps server.

When querying the SQL Database I find that there are very few deleted builds and most of those were manually triggered.

Most of the builds aren't actively retained.enter image description here

I found this question which asks pretty much the same question I am asking but does not seem to have an answer. To me it looks like there is an infrequently found bug for cases like this, which has not yet been diagnosed. My question is: is there a way, for instance via REST API to trigger the deletion of Builds as defined via the DevOps Admin interface?

On further review, I discovered that what actually seems to be happening is that DevOps, though updated to the latest release, seems to be applying per-Pipeline rules. One of the pipelines has this custom rule: Custom Rule and I have evidence that tells me that the builds are being deleted as per that rule.

DigCamara
  • 5,540
  • 4
  • 36
  • 47

1 Answers1

0

I found the answer in the Developer Community at Visual Studio. Seems to have been a problem that was fixed in their 2020.0.1 Patch 2 Release. I should note, however, that even though the issue is officially closed, there have been a couple of dissenting votes as of this date.

DigCamara
  • 5,540
  • 4
  • 36
  • 47