kriswragg.co.uk - Kris Wragg | A little bit of me on the internet

Example domain paragraphs

Having rolled out the use of NuKeeper across multiple repos in Azure DevOps I thought I would share an example YAML build definition to save others similar headaches to what I have had, also a few handy tips on what I learned the hard way.

The main issue I had was ensuring the credentials were correctly passed through, you need to set the environment variable ‘ NuKeeper_azure_devops_token ‘ with the value $(System.AccessToken) .

Another issue I had was that I had set the checkout to do a shallow clone / fetch to save time on bigger repos, this did not play nicely with NuKeeper and I was getting an error ‘NuKeeperException : Git Cannot checkout branch’