Skip to main content

Posts

Showing posts from July, 2020

How to Convert Azure Pipelines to YAML Pipeline

What is Azure YAML Pipeline? YAML is a new markup language what provides single unified experience to developers to manage Continuous Integration and Continuous Delivery at a single place. How to Convert Azure Build Pipeline to YAML Pipeline Go to Build Pipeline to which you want to convert. Get your YAML text as per below image and copy to notepad. You would also noticed that there would be some warnings at top. We need to define variables. Create a New Pipeline. Select Azure Git Repository. Select ASP.NET Template. Default YAML pipeline would be like below # ASP.NET # Build and test ASP.NET projects. # Add steps that publish symbols, save build artifacts, deploy, and more: # https://docs.microsoft.com/azure/devops/pipelines/apps/aspnet/build-aspnet-4 trigger : -  master pool :    vmImage :  'windows-latest' variables :    solution :  '**/*.sln'    buil...

Azure Pipelines with Sitecore TDS Project

Azure DevOps with Sitecore TDS Project Azure DevOps provides Build and Release Pipeline feature for Continuous Integration and Continuous Deployment. Before TFS 2017/VSTS/Azure DevOps, we used to have had Build Server to support deployment where we had all required binaries. But since when Hosted agent has been launched we need to setup Build Pipeline this way so that Hosted agent could build our solution. We should add all required dlls reference from NuGet package so that Hosted agent could restore from NuGet library while build the solution. This is good for normal ASP.NET MVC project but how TDS dependency would be resolved in Sitecore Project with TDS on Build Server. How to Set Up Azure Build Pipeline for Sitecore TDS Prerequisites: TDS version should be minimum 5.8.0.6 Open your Sitecore Project. Open Package manager Console Check your installed TDS version and Execute below command PM> Install-Package HedgehogDevelopment.TDS -Version x.x.x.x Above step will installed TDS bi...