Azure DevOps Self-Hosted Agent Pool Creation || Windows || Azure DevOps || Azure
Vložit
- čas přidán 27. 07. 2024
- Azure DevOps Self-Hosted Agent Pool Creation || Windows || Azure DevOps || Azure
Follow us on Instagram @devopsmela
Write to us at devopsmela@gmail.com
Like, Share and Subscribe - Věda a technologie
Thanks
Welcome!
Very helpful tutorial, thank you. I wonder if you could answer a question I have about self hosted agents......
If I want to deploy code to several servers in my environment is it possible to have just one self hosted agent in my environment that deploys the code to my target servers? or do I need to have a self hosted agent on each of my target servers?
The reason being I need to limit external connections from my environment to a minimum. So if I could have an 'intermediate' server that connects to azure devops with the self hosted agent and deploys to other servers that don't need a direct connection to azure devops that would be my ideal solution.
Many thanks
Thanks! For the valuable feedback
Yes! You can have one or more self hosted agent and you can deploy your changes on N number of end servers.
Considering you will have take care of network traffic throughout
@@DevOpsMela Thank you very much for your response
Nicely explained
Thanks!!
You r the best
Thanks!! For your valuable feedback..
I am new to azure devops and ci/cd. I am trying to run my QA pipelines (scripts written in powershell) in self host agent. But when I am running my scripts in self host agent, it's saying parse error. My main file runner. psm1 is not able to find. I tried relative path.. / but as there are n number of files and are tightly coupled changing path in each file will not be the ideal solution. Could you please suggest me what should I do? Please reply
Hello Nita,
Kindly send the error screenshots on devopsmela@gmail.com for better understanding your issue..
Thanks..
I have defined self hosted agent like this in yaml pipeline..
pool:
name: az400m05l05a-pool
demands:
- Agent.Name -equals az400m05-vm0
But getting error: No agent found in pool az400m05l05a-pool which satisfies the following demand: visualstudio. All demands: Agent.Name -equals az400m05-vm0
pls suggest..
Hey Nitiesh,
Kindly follow the below syntax
pool:
name: string # Name of a pool.
demands: string | [ string ] # List of demands (for a private pool)
vmImage: string # Name of the VM image you want to use; valid only in the Microsoft-hosted pool.
Thanks,
what happens when Pac expires is there any effect on the application?
Do you mean PAT?
Then you need to re-generate the token and update the new token…
Could you to explain how to open build pipeline in classic mode, I don't know how to change
the "self hosted agent pool" in yaml file..
Hi Narayana, kindly check my end to end Azure DevOps tutorial video I have covered most of the topics..
How to fix time out of sync? I already adjusted my local clock
Kindly send more details about your error or a screenshot on devopsmela@gmail.com
What if I get ssl error while configuration
Kindly share more details about your error on devopsmela@gmail.com
Great video