azure-devops

Azure Devops - release pipeline with docker and Azure Container Registry (ACR) - problem with tag

三世轮回 提交于 2020-12-13 03:26:54
问题 I have a very weird (and I suppose easy to fix) problem :) I am trying to have a working CI/CD pipeline in Azure. For this purpose, I have a repository in Azure devops and build and release pipeline created. I am publishing docker images to Azure Container Registry and during release, I am pulling this image (or at least - I am trying because it doesn't work) and I am trying to publish it on Webapp for containers. The "app" in my case it is SingalR hub on .NET Core 3.1 (but I don't suppose it

How to fix missing simulink simulation artificats issue when running test in parallel mode?

谁都会走 提交于 2020-12-13 03:10:11
问题 I have 29 Simulink/Matlab Test. It has a lot of different reference models. Before running a 20 second simulation , it has to load all reference models and create a lot of simulation artifacts in a work folder. A lot of reference model are shared in-between test. When running one test at a time, I have no issue, all simulation artifact are created and used to run the various simulation. Everything Passes. When running it all via parallel processing. I have a issue.Some simulation artifact are

How to fix missing simulink simulation artificats issue when running test in parallel mode?

谁说我不能喝 提交于 2020-12-13 03:09:13
问题 I have 29 Simulink/Matlab Test. It has a lot of different reference models. Before running a 20 second simulation , it has to load all reference models and create a lot of simulation artifacts in a work folder. A lot of reference model are shared in-between test. When running one test at a time, I have no issue, all simulation artifact are created and used to run the various simulation. Everything Passes. When running it all via parallel processing. I have a issue.Some simulation artifact are

How do I get MSSQL service container working in Azure DevOps pipeline?

旧城冷巷雨未停 提交于 2020-12-12 17:04:33
问题 Description I'm trying out the service containers for integrated database tests in azure devops pipelines. As per this opensourced dummy ci cd pipeline project https://dev.azure.com/funktechno/_git/dotnet%20ci%20pipelines. I was experimenting with azure devops service containers for integrated pipeline testing. I got postgress and mysql to work. I'm having issues with with microsoft sql server . yml file resources: containers: - container: mssql image: mcr.microsoft.com/mssql/server:2017

Get file from azure devops repository using rest api

心已入冬 提交于 2020-12-12 12:01:29
问题 I am trying to get a particular file from AzureDevops repository using the following code: public static async void GetFile() { try { var personalaccesstoken = "XXXXXXXXX"; using (HttpClient client = new HttpClient()) { client.DefaultRequestHeaders.Accept.Add( new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue("application/json")); client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Basic", Convert.ToBase64String( System.Text.ASCIIEncoding.ASCII.GetBytes(

Azure Devops - Compatibility problems moving from .NET Core 3.1 to .NET 5 at Nuget Package

孤人 提交于 2020-12-12 09:10:30
问题 I have a .NET Core solution which was running well using .NET Core 3.1 using a Pipeline on Azure Devops. Everything was working fine on the Pipeline. After moving from .NET Core 3.1 to .NET 5.0, I started to have some strange troubles running the pipeline, specifically with Nuget packages. I can build with no problems, but when it starts to pack using Nuget Package, I've got this error: [error] The nuget command failed with exit code(1) NU1202: Package Microsoft.EntityFrameworkCore 5.0.0 is

Azure DevOps Webhooks (Service Hooks) Missing Fields like Description or Repro Steps

元气小坏坏 提交于 2020-12-12 04:57:23
问题 I am working on ASP.NET Core 5 project, which will use a subscription to my organization's Azure DevOps Service Hooks (Webhooks). I will analyze event payload's data (and metadata). I checked what event payloads contains from here: https://docs.microsoft.com/en-us/azure/devops/service-hooks/events?view=azure-devops#workitem.updated And also downloaded this NuGet package: https://www.nuget.org/packages/Microsoft.AspNet.WebHooks.Receivers.vsts But there is a problem. I cannot find (in the docs

Azure DevOps Webhooks (Service Hooks) Missing Fields like Description or Repro Steps

你说的曾经没有我的故事 提交于 2020-12-12 04:56:35
问题 I am working on ASP.NET Core 5 project, which will use a subscription to my organization's Azure DevOps Service Hooks (Webhooks). I will analyze event payload's data (and metadata). I checked what event payloads contains from here: https://docs.microsoft.com/en-us/azure/devops/service-hooks/events?view=azure-devops#workitem.updated And also downloaded this NuGet package: https://www.nuget.org/packages/Microsoft.AspNet.WebHooks.Receivers.vsts But there is a problem. I cannot find (in the docs

Azure DevOps Webhooks (Service Hooks) Missing Fields like Description or Repro Steps

江枫思渺然 提交于 2020-12-12 04:56:04
问题 I am working on ASP.NET Core 5 project, which will use a subscription to my organization's Azure DevOps Service Hooks (Webhooks). I will analyze event payload's data (and metadata). I checked what event payloads contains from here: https://docs.microsoft.com/en-us/azure/devops/service-hooks/events?view=azure-devops#workitem.updated And also downloaded this NuGet package: https://www.nuget.org/packages/Microsoft.AspNet.WebHooks.Receivers.vsts But there is a problem. I cannot find (in the docs

How do i identify my AzureDevOps id for a pipeline in ADO Pipelines?

冷暖自知 提交于 2020-12-11 09:13:31
问题 So I am attempting to create a downstream project trying to use an artifact stored in azure pipeline artifact to build. I am using the task DownloadPipelineArtifact@0 https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/download-pipeline-artifact?view=azure-devops It talks about the need for a pipelineId, not really sure where to find out the id for my other pipeline. Is there any easy way, its supposed to be a ~4 digit number according the documentation. Thanks 回答1: There is