3

Context

In our Azure Devops, we have a build pipeline, where we keep some builds using the "retain this build" action.

It turns out some of the builds that should have been kept were deleted.
It is most probably the result of a bad manipulation on our part, but I don't know where to look for a log of the actions on the builds, to check if it is a bug or a misusage.

Question

Is there a log of the actions taken on the builds of a build pipeline ?

I'm looking for something which would list :

  • [date time] [user] started a build on this pipeline
  • [date time] [user] canceled build xyz on this pipeline
  • [date time] [user] modified the piepeline definition # this one is displayed in the GUI
  • [date time] [user] added/removed some tags on build xyz
  • [date time] [user] explicitly removed build xyz from this pipeline
  • [date time] [user] added/removed the flag "retain" on build xyz
  • and other actions accessible through the GUI or the API ...
3

1 Answer 1

2

Azure DevOps Audit features are currently in preview. They should capture the most important events that impact changes, permissions and retention.

There is a REST-API which allows you to query the data in case the standard functionality doesn't tell you what you need.

Azure DevOps Auditing retains a limited amount of data. It will be possible to steam events to a more permanent store in the future.

This Quickstart indicates how to grant access to the auditing logs, and how to view these logs through Azure Devops GUI.

1

Not the answer you're looking for? Browse other questions tagged or ask your own question.