azure-devops

Git credential manager and manually created PAT

六眼飞鱼酱① 提交于 2021-02-11 04:31:21
问题 I have to work from computers owned by customer. Our work's code is managed under a Azure Dev Ops repository, where I log in using my personal Microsoft Account. In order to reduce risk, I created a personal account with minimal rights within my Azure Devops dashboard. How can I setup git to use this PAT without prompting for my Microsoft Account ? Right now, each time a remote operation is triggered, a modal opens, asking for username/password. If I close it, it reopens. I close again and I

Git credential manager and manually created PAT

怎甘沉沦 提交于 2021-02-11 04:29:06
问题 I have to work from computers owned by customer. Our work's code is managed under a Azure Dev Ops repository, where I log in using my personal Microsoft Account. In order to reduce risk, I created a personal account with minimal rights within my Azure Devops dashboard. How can I setup git to use this PAT without prompting for my Microsoft Account ? Right now, each time a remote operation is triggered, a modal opens, asking for username/password. If I close it, it reopens. I close again and I

Git credential manager and manually created PAT

落爺英雄遲暮 提交于 2021-02-11 04:27:46
问题 I have to work from computers owned by customer. Our work's code is managed under a Azure Dev Ops repository, where I log in using my personal Microsoft Account. In order to reduce risk, I created a personal account with minimal rights within my Azure Devops dashboard. How can I setup git to use this PAT without prompting for my Microsoft Account ? Right now, each time a remote operation is triggered, a modal opens, asking for username/password. If I close it, it reopens. I close again and I

azure devops pipeline CopyFiles@2 task copy's files from agent A but DownloadBuildArtifacts@0 downloads the files to agent B

寵の児 提交于 2021-02-11 02:24:59
问题 i have wired behavior with the copy files from hosted agent and then downloading them back to the same agent looks like it copies the files from agent A but the same pipeline downloading them back to Agent B with is in another machine doing another build job that is not related Upload from ios_docker_142_linux_slave_1 Download back to different agent ios_docker_141_linux_slave_3 , why ? - task: CopyFiles@2 inputs: CleanTargetFolder: 'true' SourceFolder: '$(Agent.HomeDirectory)/../${

How to get build list for particular Commit through DevOps REST API

和自甴很熟 提交于 2021-02-10 20:30:41
问题 I need to retrieve a list of builds associated with particular Commit (see a picture of TFS UI) through Azure DevOps REST API. I can do it by using brute force: Load all builds for my repository through API call. Cannot find here a filter for commit: GET https://dev.azure.com/{organization}/{project}/_apis/build/builds Then filter-out only builds with specified "commitId": "eed1b008520c2b32669bef9a0a08be8a50b6e8a4" But this is extremely inefficient solution. Can you help me if there is a more

date variable in TFS

一个人想着一个人 提交于 2021-02-10 20:29:04
问题 I am trying to create a variable in TFS for my task for timestamp in format yyyymmdd. I know that I create a task specifically for this using bash or powershell. However, I am looking to find some existing variable or some way to create this variable without having to setup a task dedicated for itself. So far I have tried to use $(Date:yyyymmdd) in my variables but it does not put values in it, it uses variable name as is. For example, C:\Alpha\beta\$(Date:yyyymmdd) instead of C:\Alpha\beta

Azure Self hosted agent to run pytest

匆匆过客 提交于 2021-02-10 20:17:22
问题 I have installed a self-hosted agent on my local VM, it's connected to azure no issues there. I have a python code on azure DevOps I have installed all the requirements.txt requirements manually into the cmd line of the local VM so that self-hosted agent installed on it doesn't have to install them ( to minimize the build & deployment time) But when I have below code in the YAML file to run pytest cases pipeline is failing because of below error This is my Yaml file trigger: - master

Azure Self hosted agent to run pytest

浪子不回头ぞ 提交于 2021-02-10 20:15:57
问题 I have installed a self-hosted agent on my local VM, it's connected to azure no issues there. I have a python code on azure DevOps I have installed all the requirements.txt requirements manually into the cmd line of the local VM so that self-hosted agent installed on it doesn't have to install them ( to minimize the build & deployment time) But when I have below code in the YAML file to run pytest cases pipeline is failing because of below error This is my Yaml file trigger: - master

Is there a way to have an Azure Function App created from multiple .NET projects and have all of the Functions from all of them?

房东的猫 提交于 2021-02-10 18:55:58
问题 We have an Azure Function App that has multiple Functions, and was created using .NET project (Name: Project1). We want to add a new Azure function from a different .NET project (Name: Project2) to the existing Azure Function App without overwriting the existing functions that were deployed from Project1. Currently when we deploy Azure Function from Project2 the functions from Project1 gets removed, the Function App contains only the Project2 functions. We deploy the function using the Azure

Is there a way to have an Azure Function App created from multiple .NET projects and have all of the Functions from all of them?

▼魔方 西西 提交于 2021-02-10 18:54:30
问题 We have an Azure Function App that has multiple Functions, and was created using .NET project (Name: Project1). We want to add a new Azure function from a different .NET project (Name: Project2) to the existing Azure Function App without overwriting the existing functions that were deployed from Project1. Currently when we deploy Azure Function from Project2 the functions from Project1 gets removed, the Function App contains only the Project2 functions. We deploy the function using the Azure