azure-devops

Azure DevOps Wiki for multiple projects

限于喜欢 提交于 2021-02-08 05:29:53
问题 I have newly started exploring capabilities of Azure DevOps Wiki. I have multiple projects in Azure DevOps. I want to create one separate project to store Business & Technical documentation for all my projects in a centralize place. How can I add multiple Wiki pages to keep this organize. Second question is I have a predefined structure for the documentation. For eg. Purpose Of Application, Local Build Steps, Deployment Steps, Third Party Control used, etc. How can I create & store this as a

How to set a Agent Queue in a Release definition using REST API?

假如想象 提交于 2021-02-08 05:10:32
问题 I'm creating/updating a Release Pipeline in Azure DevOps using REST API and want to update the Release with a specific Agent Pool. In the UI the setting is located under: Release pipeline->Agent job-> Agent Selection-> Agent pool setting. Currenly I am using the Release definition Creation API, but not sure what parameter to pass within the request, to update the agent pool setting. Azure DevOps Release Definition Creation API I am using is: https://docs.microsoft.com/en-us/rest/api/azure

How to set a Agent Queue in a Release definition using REST API?

╄→гoц情女王★ 提交于 2021-02-08 05:09:35
问题 I'm creating/updating a Release Pipeline in Azure DevOps using REST API and want to update the Release with a specific Agent Pool. In the UI the setting is located under: Release pipeline->Agent job-> Agent Selection-> Agent pool setting. Currenly I am using the Release definition Creation API, but not sure what parameter to pass within the request, to update the agent pool setting. Azure DevOps Release Definition Creation API I am using is: https://docs.microsoft.com/en-us/rest/api/azure

Deploying app to Azure Virtual Machine scale set

核能气质少年 提交于 2021-02-08 05:05:25
问题 I have a question about deploying app to azure virtual scale set. I use an instruction from this blog. My problem is with release an image to azure and more specifically with Deployment Inputs in task "Build immutable image". Screen with my Deployment Inputs section And when I try to Release it I have an error: [error]Error happened while `initializing task: Not found any file matching pattern: d:\a\r1\a\Proj\ under root folder: d:\a\r1\a..` How should the correct paths look? Setting as in

Deploying app to Azure Virtual Machine scale set

穿精又带淫゛_ 提交于 2021-02-08 05:04:51
问题 I have a question about deploying app to azure virtual scale set. I use an instruction from this blog. My problem is with release an image to azure and more specifically with Deployment Inputs in task "Build immutable image". Screen with my Deployment Inputs section And when I try to Release it I have an error: [error]Error happened while `initializing task: Not found any file matching pattern: d:\a\r1\a\Proj\ under root folder: d:\a\r1\a..` How should the correct paths look? Setting as in

Azure DevOps - conditional package restoration

限于喜欢 提交于 2021-02-08 04:32:12
问题 A solution that is built via Azure DevOps pipeline has some projects that use conditional package references such as: <Choose> <When Condition="'$(Configuration)'=='Debug'"> <ItemGroup> <PackageReference Include="Mock.MyPackage" Version="1.0.0" /> </ItemGroup> </When> <Otherwise> <ItemGroup> <PackageReference Include="MyPackage" Version="1.2.0" /> </ItemGroup> </Otherwise> </Choose> The package source is a private NuGet feed. The dotnet restore task does not respect the conditional package

Automatic redeploy after fail

落花浮王杯 提交于 2021-02-08 03:45:28
问题 I'm using VSTS to automatically release my app after each commit to the specific branch. The tasks are basically: Recreate database If 1st ok -> Deploy API and Web If 2nd ok -> Deploy and restart some windows services During the second step sometimes it happens that deploy fails because of some connection or IIS issue. This is not really a big deal I do not want to be very specific about the error nature here. All I have to do when it happens is to go to the VSTS and click Redeploy on failed

Azure Artifact Publishing Fails for Artifact Version Containing '+'

自古美人都是妖i 提交于 2021-02-08 02:13:21
问题 I have been trying to publish an artifact of a java module (jar) to Azure Artifact and was getting an error 404. After debugging for a while i have realised my semantic version was breaking the URL. 1.0.2-beta1+20191202 The + indicates meta data as part of the semantic version syntax. At the same time he + breaks the URL that Azure creates to upload the artifact. Here is a sample of the URL that Azure creates: https://pkgs.dev.azure.com/MYCOMPANY/_packaging/test/maven/v1/com/MYCOMPANY/test/1

Adding additional files to VSTS Release to azure web app

為{幸葍}努か 提交于 2021-02-07 20:24:52
问题 I have a release in VSTS to deploy my webapp to the azure app service. For this I use a Azure App Service deploy step. After the normal deploy of the webapp I want to add an additional zip artifact from another build result. I want to copy only those file to a specific path of the web application on azure. How can I do that? 回答1: If the zip file is the web deploy package, you can refer to Joy’s answer. (Need to check Application option) Otherwise, the simple way is using Kudu REST API (remain

How avoid *.<Environment>.config transformations being deployed on server

孤人 提交于 2021-02-07 14:54:56
问题 I'm using VSTS to deploy at several environments. And as usual, some parameters on config files need to be different depending the environment, hence I will use config transformations to deploy it at the target environment. Since I want to have the package with both the config and the transform that will be applied later I set the Build Action as Content as such: <Content Include="App_Config\MyConfig.config" /> <Compile Include="App_Config\MyConfig.prod.config"> <DependentUpon>MyConfig.config