azure-devops-hosted-agent

how does Microsoft hosted agent relate to vmImage types?

戏子无情 提交于 2021-02-20 02:19:52
问题 I am a free tier user of Azure DevOps, as indicated in https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops#use-a-microsoft-hosted-agent, each user is entitled to 10 parallel jobs. when i login to see the available agent in the Azure Pipeline pool, I see the following: I am just curious, are the agents listed here equivalent to 10 virtual machines? if so, how man of them are windows images? how many mac images? or those are just wild cards and they can be

how does Microsoft hosted agent relate to vmImage types?

試著忘記壹切 提交于 2021-02-20 02:16:59
问题 I am a free tier user of Azure DevOps, as indicated in https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops#use-a-microsoft-hosted-agent, each user is entitled to 10 parallel jobs. when i login to see the available agent in the Azure Pipeline pool, I see the following: I am just curious, are the agents listed here equivalent to 10 virtual machines? if so, how man of them are windows images? how many mac images? or those are just wild cards and they can be

Azure DevOps Release Pipeline Fails Every Time

半腔热情 提交于 2020-08-09 07:16:10
问题 Currently, trying to configure a release pipeline in Azure Devops. I've successfully created a CI pipeline that is working and running tests successfully. My release pipeline uses the artifacts from latest the CI build and should be deploying to azure. When I look at the logs I can see the the following were completed successfully: Initialize Agent Initialize job Download arifact and then the "Deploy to Azure App Service" fails with the logs showing the following details: 2019-02-07T19:06:57

How do I run an arbitrary test command on a Hosted agent?

夙愿已清 提交于 2019-12-23 04:52:07
问题 I would like to test that a command I'm crafting will work fine on a Hosted Agent with my DevOps Build Pipeline. The command could be quite complex or as trivial as tsc --version , for example. How do I do it without modifying my build-pipeline-definition.yaml or rerunning the Build Pipeline? Can I ssh/remote into the Agent and play around there? Or is there another way? 回答1: How do I do it without modifying my build-pipeline-definition.yaml or rerunning the Build Pipeline? At the moment, you

Azure Powershell - Az module not working on Ubuntu hosted build agent

大城市里の小女人 提交于 2019-12-11 11:58:46
问题 I have a build running in Azure DevOps, on an Ubuntu 16.04 hosted build agent. I'm using the latest version of the "Azure Powershell" task (version 4.* preview), which is supposed to be multi-platform, support Powershell core, and support using the Azure Powershell Az module. However, it doesn't quite work. Before running any of my script, it errors out with: ##[section]Starting: Azure PowerShell script: InlineScript ============================================================================

Azure devops hosted agent suspicious hosts file

两盒软妹~` 提交于 2019-12-08 05:47:10
问题 This might be a weird question but stick with me. I'm using Azure Devops Hosted Agent for my continuous deployment. During the release I have a task that adds one line to the hosts file on the hosted agent. Previously the hosts file looked like this: # Copyright (c) 1993-2009 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address

Azure DevOps Hosted Agents - Add Tool (PS Module) to agent

眉间皱痕 提交于 2019-12-02 08:35:14
问题 I am wondering if there is an easy way to incorporate an extra tool to one of the default Microsoft hosted agent pools (specifically VS2017). Basically, I want to add some of the extra ARM powershell modules that are not installed by default as only the core set of modules are installed; i.e. I am looking to leverage some of the extra modules such as AAD as part of the deplyment pipeline, e.g. to create an AAD role definition. I guess the same would be true for CLI extensions if I was using

Azure DevOps Hosted Agents - Add Tool (PS Module) to agent

荒凉一梦 提交于 2019-12-02 04:34:00
I am wondering if there is an easy way to incorporate an extra tool to one of the default Microsoft hosted agent pools (specifically VS2017). Basically, I want to add some of the extra ARM powershell modules that are not installed by default as only the core set of modules are installed; i.e. I am looking to leverage some of the extra modules such as AAD as part of the deplyment pipeline, e.g. to create an AAD role definition. I guess the same would be true for CLI extensions if I was using the CLI instead of PS. Essentially, I am wondering if I have to use my own agent on a self hosted agent