azure-devops

Azure DevOps create build definition via REST API given existing YAML

拈花ヽ惹草 提交于 2021-02-07 04:14:40
问题 I have over 100 YAML files within an existing Git repo, each defining their own build pipeline. I am trying to create a PowerShell script to create these build definitions so I don't have to spend hours using the web UI to manually add new build definitions and point to their respective YAML files. I've come across similar questions and resources, but haven't been able to get this script to work. How to create Build Definitions through VSTS REST API Create Build Definition using Azure Devops

Can I upload existing NuGet packages to an Azure DevOps artifacts feed?

▼魔方 西西 提交于 2021-02-07 03:24:35
问题 I'm currently migrating from TFS 2012 to Azure DevOps 2019 (both on-premise). With the old server, I would manually create NuGet packages from some of our builds, and host these .nupkg files on a file share (configured as a package source in Visual Studio). With DevOps, I can obviously automate all of this and push the packages straight into an artifact feed. The old server needs to be decommissioned, so I would like to move the existing .nupkg files out of the file share into the new

Can I upload existing NuGet packages to an Azure DevOps artifacts feed?

依然范特西╮ 提交于 2021-02-07 03:23:37
问题 I'm currently migrating from TFS 2012 to Azure DevOps 2019 (both on-premise). With the old server, I would manually create NuGet packages from some of our builds, and host these .nupkg files on a file share (configured as a package source in Visual Studio). With DevOps, I can obviously automate all of this and push the packages straight into an artifact feed. The old server needs to be decommissioned, so I would like to move the existing .nupkg files out of the file share into the new

Whats the difference between a build pipeline and a release pipeline in Azure DevOps?

喜你入骨 提交于 2021-02-06 19:57:25
问题 I have set up several multi-staged build pipelines in Azure DevOps by using .yaml files. I've read about the "Release Pipelines" available, and I'm wondering what the benefits of those are? They seem to do the same, don't even offer .` YAML's support. So what's the main difference here? What can I do by using release pipelines, rather than usual build pipelines? 回答1: In Azure DevOps, before there was the multi stage yaml pipelines (now known as " Pipelines ", you usually used the Build

Whats the difference between a build pipeline and a release pipeline in Azure DevOps?

人走茶凉 提交于 2021-02-06 19:56:41
问题 I have set up several multi-staged build pipelines in Azure DevOps by using .yaml files. I've read about the "Release Pipelines" available, and I'm wondering what the benefits of those are? They seem to do the same, don't even offer .` YAML's support. So what's the main difference here? What can I do by using release pipelines, rather than usual build pipelines? 回答1: In Azure DevOps, before there was the multi stage yaml pipelines (now known as " Pipelines ", you usually used the Build

How to clean up wwwroot folder on the target Azure Websites Windows Server before each deployment in VSTS

非 Y 不嫁゛ 提交于 2021-02-05 20:24:09
问题 After about a dozen deployments, the wwwroot directory is filled with a lot of files due to active development and deployments. We are using VSTS's Azure App Service Deploy task to deploy to Azure Websites Windows Server for a ASP.NET Web API project, is there a way to clean up the wwwroot directory before deploying to the Avsts pre-deployment clean up? 回答1: When using the Azure App Service Deploy task, and you are using the Publish using Web Deploy option, there is an additional option to

How to clean up wwwroot folder on the target Azure Websites Windows Server before each deployment in VSTS

强颜欢笑 提交于 2021-02-05 20:20:18
问题 After about a dozen deployments, the wwwroot directory is filled with a lot of files due to active development and deployments. We are using VSTS's Azure App Service Deploy task to deploy to Azure Websites Windows Server for a ASP.NET Web API project, is there a way to clean up the wwwroot directory before deploying to the Avsts pre-deployment clean up? 回答1: When using the Azure App Service Deploy task, and you are using the Publish using Web Deploy option, there is an additional option to

Calculate lines of code change for a commit? [closed]

不羁的心 提交于 2021-02-05 12:23:17
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed last month . Improve this question Is there a way to calculate lines of code in a Pull Request API in Azure Devops for each file. I have gone through below two links and but was not of much help. Is there a way to get the amount of lines changed in a Pull Request via the Dev Ops Service REST API? Lines of Code

Issues with publishing iOS app to testflight through Azure DevOps

耗尽温柔 提交于 2021-02-05 12:13:37
问题 I am looking into some issues surrounding a build pipeline our team has created to push iOS applications to testflight. The specific issue that is being displayed is as follows: ERROR ITMS-90174: "Missing Provisioning Profile - Apps must contain a provisioning profile in a file named embedded.mobileprovision." We are able to successfuly upload to testflight from developers local machines but the IPA generated by DevOps cannot be uploaded in the same way, either through the pipeline or even

Issues with publishing iOS app to testflight through Azure DevOps

做~自己de王妃 提交于 2021-02-05 12:13:24
问题 I am looking into some issues surrounding a build pipeline our team has created to push iOS applications to testflight. The specific issue that is being displayed is as follows: ERROR ITMS-90174: "Missing Provisioning Profile - Apps must contain a provisioning profile in a file named embedded.mobileprovision." We are able to successfuly upload to testflight from developers local machines but the IPA generated by DevOps cannot be uploaded in the same way, either through the pipeline or even