I made a pull request in Azure Devops that had some policies. The code was reviewed and the build succeeded but I didn’t had time to complete the Pull request.
Later when I came back I noticed that the Build was expired and therefore I couldn’t complete the Pull request anymore.
Build Expiration is a part of the build branch policies. It makes sure that updates to your protected branch don't break open pull requests.
You can choose between:
- Always require a new build
- Require a new build if older than ... hours
- Don't require a new build
If the build expired, you can retrigger it by clicking on the … next to the Build expired message and choosing Queue build: