Questions tagged [azure-pipelines-release-pipeline]

Visual Studio Team Services and Team Foundation Server Release Management.

1942 questions
16
votes
5 answers

Azure DevOps ordering the release stages

How can I order the different deploy environments. Just for display purposes. Currently we have it stand like this: I want it to look like this: development--test-acceptation--production I already edited the release pipeline and moved development…
15
votes
2 answers

Azure DevOps unable to deploy to Azure Web App

Am currently trying to deploy an app from a Release Pipeline under Azure DevOps owned by Company A to an Azure App hosted on Azure owned by Company B. Keep on getting this error when attempting to release stop the Azure App: Error: Failed to get…
15
votes
3 answers

This project references NuGet package(s) that are missing on this computer. The missing file is ..\packages\NUnit.3.10.1\build\NUnit.props

I am encountering the error during the Build phase of an Azure Pipeline on the Azure DeveOps site. Specifically, the packages it is complaining about…
15
votes
1 answer

VSTS IIS Web App Deploy fails with return 2148734720

I configured releases same way for a couple of our servers but I have issue with one of them (others work perfectly): [error]Failed to deploy web package to IIS website. [error]Error:…
15
votes
1 answer

"The SSL certificate contains a common name (CN) that does not match the hostname." in VSTS Deployment

I am using VSTS to deploy to an Azure VM. In my release definition, I receive the following error when trying to copy files over: The SSL certificate contains a common name (CN) that does not match the hostname. For more information, see the …
srbrills
  • 1,451
  • 2
  • 13
  • 33
14
votes
1 answer

Deploy a self-contained .NET Core application with Azure DevOps App Service Deploy task

From a local machine I can publish a .NET Core application to Azure Web Service as a self-hosted application by defining true in publish profile. App Service Deploy task in Azure DevOps pipeline publishes it to IIS by…
14
votes
2 answers

VSTS JSON variable substitution with secrets from Azure Key Vault

I'm doing an Azure App Service Deploy (ASP.NET Core 2.0 Web Api) in Visual Studio Team Services and want to replace some values in the appsettings.json so I read…
13
votes
2 answers

Entity Framework Migration Azure DevOps Release Pipeline

I'm trying to run migration on Azure DevOps Release Pipeline. Because I want to run my DB scripts automatically on every release. My release pipeline does not have source code, I just have compiled DLLs. When I execute this command on my local…
13
votes
2 answers

How to get the associated changes, check-in comments and linked work items for a particular build/release in VSTS

I am using SendGrid email extension to trigger a custom email notification after the CI/CD process is complete in VSTS. This email task has HTML content in it which includes some content fetched using standard build/release variables…
13
votes
4 answers

VSTS release pull request build trigger

My team are using the VSTS Build & Release mechanism, combined with pull request branch safety settings, so that code can only be merged in when a pull request is completed. We are experiencing something odd though, in that when a pull-request is…
13
votes
3 answers

Helm command with kubeconfig inline

I am trying to execute helm commands on VSTS release definition using Run command VSTS extension but the problem is it is not able to find the kubeconfig file on the custom build agent i have configured. I think this is coz the build steps defined…
narcs
  • 213
  • 1
  • 2
  • 13
12
votes
3 answers

ENOENT: no such file or directory, open '/home/vsts/work/package.json'

I have repo in git and trying to build with yaml in vsts. In repository there is only newly created angular project without any changes. When trying to run pipeline with default angular yaml i get following error when running "ng build…
12
votes
6 answers

Getting the latest build id from a referenced pipeline resource

In the classic release pipeline it was possible to add other pipelines as Artifact resources - these could be triggers, or just references. You could then reference information about them, e.g. the build id using…
12
votes
1 answer

Azure DevOps Pipelines: Create a text file with the current build number

I have a build and pipeline setup to build a solution and then upload the finished .exe file via ftp upload to my website. Everything works fine and I have it setup to make a new folder named $Build.BuildNumber (20181218.4 for example) with the .exe…
12
votes
1 answer

NuGet Push throws PackageExistsAsDeletedException

I'm testing the VSTS hosted NuGet feed and have created and published a NuPkg to the feed with the name: SomeComponent.2.1.0.npkg I wanted to re-test a change I made to the release definition, so I deleted the package from the feed, and emptied the…
JohnKoz
  • 908
  • 11
  • 21