azure-pipelines-release-pipeline

'Enable system diagnostics' missing in release pipeline

你。 提交于 2020-03-05 00:27:46
问题 As given in the pic below, how can we enable 'Enable system diagnostics' in release pipeline? The pic is taken from build pipeline and the documentation for diagnostics is here. Also is it possible to provide this in Yaml ? 回答1: Set the variable system.debug to true . If the variable does not exist, add it. 来源: https://stackoverflow.com/questions/60152692/enable-system-diagnostics-missing-in-release-pipeline

Azure Data Factory Release Pipeline - Resource Not Found Error

南楼画角 提交于 2020-03-03 11:34:28
问题 I am testing a build/release of a very simple ADF (just one activity), the build, repository, arm template export all seem ok until when I run the release task, the error shows up in the final step, that says: "error": { "code": "ResourceNotFound", "message": "The Resource 'Microsoft.DataFactory/factories/htTestDF' under resource group 'xxx-rg' was not found." } I watched several tutorials and microsoft web sites, and tried exporting the ARM template several times, the same error occurs. Any

Azure Data Factory Release Pipeline - Resource Not Found Error

為{幸葍}努か 提交于 2020-03-03 11:32:27
问题 I am testing a build/release of a very simple ADF (just one activity), the build, repository, arm template export all seem ok until when I run the release task, the error shows up in the final step, that says: "error": { "code": "ResourceNotFound", "message": "The Resource 'Microsoft.DataFactory/factories/htTestDF' under resource group 'xxx-rg' was not found." } I watched several tutorials and microsoft web sites, and tried exporting the ARM template several times, the same error occurs. Any

In Azure DevOps Server 2019 (on-prem) release pipeline how can one stage pass a file to another stage?

只谈情不闲聊 提交于 2020-02-25 04:00:58
问题 We have Azure DevOps Server 2019 on-prem. That means no unified pipelines, no YAML for release pipeline. The scenario is this: A stage runs terraform code to provision some resources in Azure. It is necessary to insert manual approval between terraform plan and terraform apply , however, the plan file produced by terraform plan stage must be shared with the terraform apply stage. I can see these options: Save the plan file on a shared file system Save the plan file in a dedicated storage on

In Azure DevOps Server 2019 (on-prem) release pipeline how can one stage pass a file to another stage?

我是研究僧i 提交于 2020-02-25 04:00:25
问题 We have Azure DevOps Server 2019 on-prem. That means no unified pipelines, no YAML for release pipeline. The scenario is this: A stage runs terraform code to provision some resources in Azure. It is necessary to insert manual approval between terraform plan and terraform apply , however, the plan file produced by terraform plan stage must be shared with the terraform apply stage. I can see these options: Save the plan file on a shared file system Save the plan file in a dedicated storage on

Error:C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe failed with return code: 4294967295

徘徊边缘 提交于 2020-02-23 10:06:31
问题 I have setup the VSTS release definition with Dev and Test environments, those environments successfully deployed without any issue from last 2 months but suddenly today I faced some issue in Test environment even Dev environment succeeded. The issue like “Error:C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe failed with return code: 4294967295”, if you want more information see the below screenshot. Before posting question I read so many answers and tried with some options like

How to trigger Agent Job As per condition using PowerShell in Azure Devops Pipeline

余生颓废 提交于 2020-01-25 09:41:26
问题 I have a PowerShell as below: echo "Hello-World" $MyVariable = "Proceed" echo $MyVariable What I want to do : If the MyVariable is " Proceed " Only and only then Agent Job2 Should run I have used PowerShell task and Given Variable name as MyVariableOutput I have done below configuration at Agent Job2 level Can you please let me know how can I put these condition: Only If the Powershell Script at Agent Job1 Produce the Proceed as the value of MyVariable Agent Job2 will run. Note: Agent Job1

How to Copy a Folder from a TEST App Service to a LIVE App Service on Azure

谁都会走 提交于 2020-01-24 00:44:46
问题 In my Azure DevOps Pipeline I would like to copy a folder e.g. Media from 1 environment/app service, say TEST to another environment/app service say Live. The Media folder in TEST may get updated AFTER the Ci/cd build has been deployed to the TEST environment - just to exclude answers that might suggest putting it in Git and including it as a Build artifact. EDIT - Clarification on using the accepted answer. My repo contains the given powershell script in the accepted answer as : azure/Copy

Azure DevOps Release pipeline for create-react-app and GitFlow?

假如想象 提交于 2020-01-23 12:25:08
问题 We have a creat-react-app application, which includes a couple of variables that are different (react) build time, depending on where the build will be deployed. For example, we need to specify build time which URL will be used, e.g. https://app-stage.company.com for a release-x.y.z build vs. https://app.company.com for a master build (please refer to this article about GitFlow). We've already created such a build pipeline as suggested here, which will build with the appropriate react config

How to get the download url of the artifact in Visual Studio Team Services?

徘徊边缘 提交于 2020-01-13 19:54:06
问题 I'm developing a plugin in Visual Studio Code that allows downloading of artifacts from VSTS (Visual Studio Team Services) but I don't know where to get the URL? How can I get the URL of the download button? 回答1: You can get the download URL for build artifacts through REST API. Use the REST API to get build artifacts: GET https://{account}.visualstudio.com/DefaultCollection/{project}/_apis/build/builds/{buildID}/artifacts?api-version=2.0 You will get the response as below: { "count": 1,