This article explains how to list all “Environment Variables” (that’s pipeline variables, job / stage variables, predefined variables and even local script variables that are mounted on to the agent as Environment Variables) using PowerShell in Azure DevOps.
This article explains in very brief terms – it is Christmas and I’m enjoying my 2-week-long European vacation, after all 😉 – how to make sure your Azure DevOps (YAML) pipelines fire on schedule. Because by default, they won’t. And I’ll explain to you why that (kind of) makes sense!…Continue reading How to make sure your pipelines run as scheduled in Azure DevOps?
This article explains our solution to a very particular use case. We needed to go through .csproj files, find certain dependencies from them, and then figure out their versions. And all of this needed to happen in an Azure DevOps pipeline. But when would this be helpful? Well, hear me…Continue reading How to find out dependency versions in your .csproj files using PowerShell?
This article expands on my earlier article on automatically figuring out versioning in an Azure DevOps Pipeline. In the other article, you’d add Major and Minor versions as variables, and Patch (the last part of an x.y.z version scheme) would be incremented automatically. In this one, I’m describing how to…Continue reading Automatically get version number from project dependencies in Azure DevOps
It took me something like 10 years of struggling to get remote triggers to finally fire in Azure DevOps, and in this article, I’ll share how I finally got the remote repository trigger to work for an actual Team Project in real production use (and that’s a first!) 😃 Okay,…Continue reading Working YAML sample of a remote repository CI trigger in Azure DevOps
In Azure DevOps, you sometimes have a project that’s being built with a certain .NET version. It’ll require that particular SDK version, and most typically that is defined in the global.json file. However, if you also need to install a certain .NET tool, running dotnet tool install MyBuildTool will fail.…Continue reading How to avoid global.json version conflicts in Azure DevOps