azure-devops

Pass parameter to Azure CLI Task in DevOps

て烟熏妆下的殇ゞ 提交于 2021-02-20 13:26:49
问题 How do you pass a parameter to an Azure CLI Task in Azure DevOps? Take the very basic example of showing basic info about a VM. A basic CLI command would be: az vm show --name myVM --resource-group dev -o table Now if I wanted to parameterize that command, so that I could pass in the VM Name, who would i do it? I've tried creating a CLI Task as both an in-line script and a file, passing parameters using the Azure DevOps Argument builder, but nothing seems to work. The parameter looks like

How can I check-in files in TFS with azure pipelines

廉价感情. 提交于 2021-02-20 02:45:51
问题 I'm trying to automate a local deployment script that builds a javascript bundle and then, with the help of TFS command line tool, it checks-in the bundle into a TFS repository. Right now I have the pipeline building the bundle but I still need a last Task that puts the created files into TFS. It is important to note that the TFS is in another project. Is there a Taks that does check-ins to TFS? If not, what alternatives do I have without using a custom script for that? 回答1: I wrote a little

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

az storage account network-rule not working for Microsoft Hosted agent(Azure DevOps)

谁都会走 提交于 2021-02-19 09:01:38
问题 I have to delete all the files in azure blob storage(specific container) automatically via azure release pipelines. So I have configured a task to get the IP address of Microsoft agent dynamically and add the IP address into blob Firewall. Below script working successfully sometimes, but I'm not able to see the IP in the Firewall list. Also same script is failing many times and throwing a error like The request may be blocked by network rules of storage account. Please check network rule set

az storage account network-rule not working for Microsoft Hosted agent(Azure DevOps)

雨燕双飞 提交于 2021-02-19 09:01:19
问题 I have to delete all the files in azure blob storage(specific container) automatically via azure release pipelines. So I have configured a task to get the IP address of Microsoft agent dynamically and add the IP address into blob Firewall. Below script working successfully sometimes, but I'm not able to see the IP in the Firewall list. Also same script is failing many times and throwing a error like The request may be blocked by network rules of storage account. Please check network rule set

Scalatest in maven: JUnit results

馋奶兔 提交于 2021-02-19 08:28:24
问题 I have a continuous integration server set up in Microsoft Visual Studio Team Services. I am able to build my code and run my tests through scalatest . However, I cannot figure out how to output the results in a JUnit format. I have seen many results for people using SBT, but none who are using Maven . Under configuration, is the 'junitxml' tag supposed to generate the correct file? This would mean it's a Microsoft problem then. My scalatest plugin currently look like: <plugin> <groupId>org

How to demand multiple agent machines in Azure devops pipeline pool?

£可爱£侵袭症+ 提交于 2021-02-19 07:32:32
问题 I'm looking if I can specify a list of agents in Agent pool demands? In UI azure pipeline has only two options equals and exists. So, I tried adding two demands but pipeline takes only first demand The same in yaml is as follows, pool: name: AWS Pool demands: - Agent.Name -equals simLin02 - Agent.Name -equals ubuAgent01 I would like to know if there is any logical way of specifying the list of agent machines in yaml like following or any other alternatives where I can pass a list of agent

How to demand multiple agent machines in Azure devops pipeline pool?

走远了吗. 提交于 2021-02-19 07:32:26
问题 I'm looking if I can specify a list of agents in Agent pool demands? In UI azure pipeline has only two options equals and exists. So, I tried adding two demands but pipeline takes only first demand The same in yaml is as follows, pool: name: AWS Pool demands: - Agent.Name -equals simLin02 - Agent.Name -equals ubuAgent01 I would like to know if there is any logical way of specifying the list of agent machines in yaml like following or any other alternatives where I can pass a list of agent

Manifest icons in custom Azure DevOps extension hubs and hub groups

孤者浪人 提交于 2021-02-19 06:33:51
问题 I am developing an Azure DevOps extension. Experimenting with the DevOps UI extension sample raises a question for me. I enabled the Preview features in Azure DevOps having a more fancy UI. Azure default hubs and hub groups like Tests, Repos and so on do have a nice coloured icons in the menu bar. Whereas my custom Sample UI do not. They are just grey. And it looks like I cannot manifest icons for my custom hubs and hub groups. Anybody here who knows more about this issue? 回答1: Follow this