If you read my post about setting up custom Linux Azure DevOps build agent https://www.jenx.si/2019/05/27/how-to-setup-private-linux-azure-devops-agent then this post will be very familiar to you. I will try the same thing, but this time, I will use MacOS to set up Azure DevOps build agent.
In general, build agents should run as daemons/services not as user session scripts. In this blog post I will investigate how to register Linux Azure Build agent to run as a service.
Azure DevOps is amazing set of services which support all parts of Application lifecycle management. Although, built-in (Hosted) build agents are enough for almost all scenarios, there are cases when special needs are required. In this case, custom build agents covers these scenarios. In this blog post I will describe how to put on custom Linux build agent for Azure DevOps.