azure-pipelines

Build pipeline's default branch. What does it mean?

|▌冷眼眸甩不掉的悲伤 提交于 2020-12-15 03:43:06
问题 In the Release workflow in Azure DevOps Services, while setting up Continuous Deployment trigger, there is this option which 'The build pipeline's default branch' . I don't understand what it means and how can I view the default branches for different pipelines in my project. Any reference to documentation on this aspect will also help This appears in a couple of other places also in the Pipelines, but I can't remember it now. Thanks, 回答1: As this document describes the default branch is

Update the Azure Release Variable value in PowerShell

那年仲夏 提交于 2020-12-15 03:33:53
问题 I have Release Variable $(ecomm) = Yes, in Azure Release Pipeline Through Powershell, i want to update the value of $(ecomm) = No Write-Host "Before update: "$(ecomm) Write-Host "##vso[task.setvariable variable=ecomm;]No" Write-Host "After update: "$(ecomm) But the value is not updating. Can you please help me on this. Thanks in advance. 回答1: Repcak is correct. When you use the logging command to set variables in Powershell, you can only change the value of the variable in Pipeline Run

Update the Azure Release Variable value in PowerShell

爷,独闯天下 提交于 2020-12-15 03:32:38
问题 I have Release Variable $(ecomm) = Yes, in Azure Release Pipeline Through Powershell, i want to update the value of $(ecomm) = No Write-Host "Before update: "$(ecomm) Write-Host "##vso[task.setvariable variable=ecomm;]No" Write-Host "After update: "$(ecomm) But the value is not updating. Can you please help me on this. Thanks in advance. 回答1: Repcak is correct. When you use the logging command to set variables in Powershell, you can only change the value of the variable in Pipeline Run

Update the Azure Release Variable value in PowerShell

本小妞迷上赌 提交于 2020-12-15 03:30:40
问题 I have Release Variable $(ecomm) = Yes, in Azure Release Pipeline Through Powershell, i want to update the value of $(ecomm) = No Write-Host "Before update: "$(ecomm) Write-Host "##vso[task.setvariable variable=ecomm;]No" Write-Host "After update: "$(ecomm) But the value is not updating. Can you please help me on this. Thanks in advance. 回答1: Repcak is correct. When you use the logging command to set variables in Powershell, you can only change the value of the variable in Pipeline Run

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

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

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

How to Sign Android app Bundle with azure pipeline

荒凉一梦 提交于 2020-12-11 05:57:09
问题 How to Sign Android App Bundle with the azure pipeline, The documentation is available only signing APK https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/build/android-signing?view=azure-devops when I try to sign aab with the above task I am getting below error Error: Failed to deduce min API Level: APK does not contain AndroidManifest.xml. Please specify --min-sdk-version. 回答1: I had same problem with signing the Android app bundle, Right now we fixed this issue with the signing

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