I have multiple project repositories in AzureDevOps and I created a self-hosted agent into our build server. I have defined CICD pipelines for few repositories and it works fine using self-hosted agent.
But when I am trying to setup a CICD pipeline for a new repository in AzureDevOps, the self-hosted agent is not showing up under Agent pool dropdown for this new repository.
It sounds like you created another project in your organization but didn't link the agent pool to the new project.
You can use the PowerShell module AzurePipelinesPS to install an agent. Check out the Install-APAgent command.
If you get an error trying to add a pool at the project level you may not have permissions to view the agent pools for that project.
If you have the agents in their own separate pool, it's an easy solution
You should now see the added pools in the list and can now be used in that project's build pipelines.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With