azure-devops

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

吃可爱长大的小学妹 提交于 2020-12-11 09:13:30
问题 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

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

对着背影说爱祢 提交于 2020-12-11 09:09:56
问题 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

VSTS Build - Choose which unit tests run depending on which files were modified in a pull request

蓝咒 提交于 2020-12-11 04:33:25
问题 I would like to control which unit tests run in a VSTS build pipeline based on which files were modified in the PR that triggered the pipeline. Is there a way to detect which files were modified in a pull request during a VSTS build triggered for that PR, and then choose which tests to run based on that information? 回答1: Yes, this is possible: Manual Approach One approach to this is to have a custom Powershell task in your pipeline that sets a variable based on whether a certain file was

VSTS Build - Choose which unit tests run depending on which files were modified in a pull request

非 Y 不嫁゛ 提交于 2020-12-11 04:33:18
问题 I would like to control which unit tests run in a VSTS build pipeline based on which files were modified in the PR that triggered the pipeline. Is there a way to detect which files were modified in a pull request during a VSTS build triggered for that PR, and then choose which tests to run based on that information? 回答1: Yes, this is possible: Manual Approach One approach to this is to have a custom Powershell task in your pipeline that sets a variable based on whether a certain file was

Can't build .Net 5 in pipeline

让人想犯罪 __ 提交于 2020-12-09 06:33:09
问题 I created a new solution 2 weeks ago using .Net 5 RC2. I've upgraded it to the new release (5.0.0). I'm trying to created a standard ASP.Net pipeline to build it, agent pool is Azure Pipelines, and agent specification I've tried both windows-2019 and vs2017-win2016. Both give the same errors as below Why is it trying to use 2.1? Checking compatibility for System.Composition.AttributedModel 1.0.31 with .NETFramework,Version=v5.0 (win7-x86). Checking compatibility for System.Composition.Runtime

Deployed Angular dist/ on Azure Web App showing me default screen

别来无恙 提交于 2020-12-07 07:12:59
问题 I have setup CI-CD on Azure DevOps using classical editor .I did managed to Build angular by Build Pipeline and Using Release pipelines I have pushed the Angular /dist folder to the web app. The contents are in the following : /home/site/wwwroot/my-angular-app/ But whenever I open url for the web-app I only could see default web-page of azure web app. I have deployed on Web App (Linux) and I have choose Node as runtime task. As I'm new to Azure Is there anything else needs to done ? Thanks in

Deployed Angular dist/ on Azure Web App showing me default screen

痴心易碎 提交于 2020-12-07 07:12:30
问题 I have setup CI-CD on Azure DevOps using classical editor .I did managed to Build angular by Build Pipeline and Using Release pipelines I have pushed the Angular /dist folder to the web app. The contents are in the following : /home/site/wwwroot/my-angular-app/ But whenever I open url for the web-app I only could see default web-page of azure web app. I have deployed on Web App (Linux) and I have choose Node as runtime task. As I'm new to Azure Is there anything else needs to done ? Thanks in

Deployed Angular dist/ on Azure Web App showing me default screen

喜夏-厌秋 提交于 2020-12-07 07:10:16
问题 I have setup CI-CD on Azure DevOps using classical editor .I did managed to Build angular by Build Pipeline and Using Release pipelines I have pushed the Angular /dist folder to the web app. The contents are in the following : /home/site/wwwroot/my-angular-app/ But whenever I open url for the web-app I only could see default web-page of azure web app. I have deployed on Web App (Linux) and I have choose Node as runtime task. As I'm new to Azure Is there anything else needs to done ? Thanks in

How can you use secret variables from a linked variable group in an Azure Powershell task in an Azure Release pipeline?

倾然丶 夕夏残阳落幕 提交于 2020-12-07 06:40:49
问题 I have an Azure Release pipeline that I've built using the GUI in Azure DevOps. There is a stage that has a linked variable group (Release scope) with a secret variable in the variable group. The stage has an agent job with an Azure Powershell task that runs a script file. That script file references the secret variable using the syntax $env:MYSECRETVARIABLE but the value is null. When I add an Azure Powershell task for debugging that runs Get-ChildItem -Path Env:\ , I can see that all the

How can you use secret variables from a linked variable group in an Azure Powershell task in an Azure Release pipeline?

牧云@^-^@ 提交于 2020-12-07 06:39:25
问题 I have an Azure Release pipeline that I've built using the GUI in Azure DevOps. There is a stage that has a linked variable group (Release scope) with a secret variable in the variable group. The stage has an agent job with an Azure Powershell task that runs a script file. That script file references the secret variable using the syntax $env:MYSECRETVARIABLE but the value is null. When I add an Azure Powershell task for debugging that runs Get-ChildItem -Path Env:\ , I can see that all the