azure-devops

Excluding projects from dotnet pack task in Azure DevOps

℡╲_俬逩灬. 提交于 2021-02-08 11:02:17
问题 I have an VS solution file (.sln) which consists .net standard libraries and test projects. Now the project has an Integration test project that is targeted against .net Framework 4.7.2. My current build pipeline does the following dotnet build dotnet pack dotnet push With the dotnet pack, I am trying to excldude the project Integration.Tests.csproj. My current folder structure looks like the following CompanyName.Service\CompanyName.Service.csproj CompanyName.Data\CompanyName.Data.csproj

Excluding projects from dotnet pack task in Azure DevOps

冷暖自知 提交于 2021-02-08 10:59:26
问题 I have an VS solution file (.sln) which consists .net standard libraries and test projects. Now the project has an Integration test project that is targeted against .net Framework 4.7.2. My current build pipeline does the following dotnet build dotnet pack dotnet push With the dotnet pack, I am trying to excldude the project Integration.Tests.csproj. My current folder structure looks like the following CompanyName.Service\CompanyName.Service.csproj CompanyName.Data\CompanyName.Data.csproj

Excluding projects from dotnet pack task in Azure DevOps

随声附和 提交于 2021-02-08 10:59:22
问题 I have an VS solution file (.sln) which consists .net standard libraries and test projects. Now the project has an Integration test project that is targeted against .net Framework 4.7.2. My current build pipeline does the following dotnet build dotnet pack dotnet push With the dotnet pack, I am trying to excldude the project Integration.Tests.csproj. My current folder structure looks like the following CompanyName.Service\CompanyName.Service.csproj CompanyName.Data\CompanyName.Data.csproj

Applying custom image to an existing azure scaleset which was created using custom image

扶醉桌前 提交于 2021-02-08 10:28:38
问题 I have created an azure scaleset using custom image. when I try to upgrade the scale set with another custom image using "Azure VMSS: update with immutable machine image" I get the following error Failed to update image for VMSS testvmssapp. Error: VMSS testvmssapp can not be updated as it uses a platform image. Only a VMSS which is currently using a custom image can be updated. Is there something I am missing with custom scaleset image? "storageProfile": { "osDisk": { "createOption":

How exclude Deployment Group Target from Release on the fly

大城市里の小女人 提交于 2021-02-08 10:01:45
问题 I have a Deployment Group with X number of servers. I've created and set up my Release Pipeline to work as expected. When I run it, it deploys to all servers under my Deployment group. (I do filter by specific Tags but that's irrelevant) What I need now, is to be able to filter/exclude servers on the fly during deployments (for example: deploy only on the first server and leave the rest unchanged) Something like the below (screenshot taken from Octopus which supports this functionality) I'm

How exclude Deployment Group Target from Release on the fly

北城余情 提交于 2021-02-08 10:01:17
问题 I have a Deployment Group with X number of servers. I've created and set up my Release Pipeline to work as expected. When I run it, it deploys to all servers under my Deployment group. (I do filter by specific Tags but that's irrelevant) What I need now, is to be able to filter/exclude servers on the fly during deployments (for example: deploy only on the first server and leave the rest unchanged) Something like the below (screenshot taken from Octopus which supports this functionality) I'm

How to set version of the prerelease NuGet according to the latest released NuGet automatically?

强颜欢笑 提交于 2021-02-08 09:51:44
问题 I have two pipelines, release and prerelease. In release pipeline version set up like this, the counter for the patch and manually set major/minor version: variables: solution: '**/*.sln' buildPlatform: 'Any CPU' buildConfiguration: 'Release' majorVersion: '1' minorVersion: '1' patchVersion: $[counter(format('{0}.{1}', variables['majorVersion'], variables['minorVersion']), 0)] productVersion: $[format('{0}.{1}.{2}', variables['majorVersion'], variables['minorVersion'], variables['patchVersion

Azure Service Fabric - Multiple application deployment through Azure DevOps

↘锁芯ラ 提交于 2021-02-08 09:35:09
问题 I have a two microservices applications running in Azure Service fabric cluster. I don't have any issue when I deploy the applications from Visual Studio. But when I try to deploy the applications through Azure DevOps CI/CD pipeline I'm getting the below error. [error]Found more than one item with search pattern D:\a\r1\a**\drop\projectartifacts**\PublishProfiles\Cloud.xml. There can be only one. From this error message what I can understand I should have only one Cloud.xml file in the

How can I identify which work items/user stories are in a selected build in Azure DevOps?

大憨熊 提交于 2021-02-08 09:20:09
问题 I am new to Azure DevOps, so perhaps this is a really simple question. When selecting a build (there are many) to deploy to production, it would be great if I could identify the user stories or tasks were included in that build. I want to be able to say what work is being deployed before it is live, or tell customers who are waiting for new features when that feature is live. I have tried to write a script using the Azure DevOps API and can see my builds and pull requests. But how do I link

Visual studio ask me to clone the same project which is already in the DevOps

天涯浪子 提交于 2021-02-08 08:55:26
问题 I am new to DevOps and Git. (time ago was using VisualSVN) I wanted to commit a project's new changes to it's DevOps repository which I created earlier . For some days repeatedly I made changes, commit, push to the repository. Don't know why now after some days I am not able to do so. Maybe a time-out thing, a disconnection from the repo. By the way, after that seems I needed to reconnect to the repo, but after the connection, it repeatedly asks me to clone the same project , which I am