Azure DevOps allows us to create yaml build pipelines. If you use yaml build pipelines you may have realized, there are repetitive steps which can be reused in multiple build pipelines. You can create a yaml template with include all the repetitive steps and reuse that template with in other yaml file which defines a build pipelines. This post will explain how to create a yaml template and use it in a pipeline.
Following is the yaml script which doesn't use templates. It has all the steps in the same yaml file which makes a script not manageable.
Saturday, November 30, 2019
Saturday, November 16, 2019
Resolving "user lacks permissions" in NuGet push task of Azure Pipelines
This post will discuss the issue you might get when trying to push the nuget package to the Azure DevOps Artifact feed using the build pipeline.
pre requisites: Azure DevOps arifacts feed
Let’s get started.
pre requisites: Azure DevOps arifacts feed
Let’s get started.
- You can implement the build pipeline to pack and push the nuget package to the the Azure DevOps nuget feed as explained in this post.Using NuGet Packages as Azure DevOps Artifacts Once you configured the build pipeline, it will look as follows.
Friday, November 8, 2019
Setting up Multiple YAML Builds in the Same Azure Git Repo With Path Filters
Azure DevOps has mainly two ways of creating build definitions to build your code. You can use either classic editor or YAML scripts to create a build. You can write YAML scripts to create various types of builds according to your project requirements. This blog post explains how to write YAML scripts to setting up different YAML builds in the same repo.
Pre-requisites : Azure DevOps project with multiple solutions in the same repo
Let's get started.
Pre-requisites : Azure DevOps project with multiple solutions in the same repo
Let's get started.
Tuesday, October 29, 2019
Automated Cross Browser Testing with LambdaTest and Azure DevOps
Testing is very
important process of the software development life-cycle which improve the
quality of the software product by identifying issues of the software in
various pre-release stages. Cross browser, device testing is important to
verify application performance in different browsers and devices. Hence,
test teams use both manual and automated test mechanisms to perform test activities.
This post explains how to perform automated cross browser, device testing with
LambdaTest and Azure DevOps.
Pre-requisites: Selenium script which use LambdaTest selenium grid
Azure DevOps project
Monday, October 14, 2019
Attach UI/Functional Test Run Video to Tests in Azure DevOps
When you have
Automated test scripts integrated with Azure DevOps pipelines and run test
scenarios using Test client machine, you can’t see what actually happens inside
the test client machine. You only get the test run results at the end of the
test run with all necessary details as execution time, failure test cases with
failure reasons. To get more detail of the test scripts, we can attach screen
shots and videos to the Azure DevOps pipelines test result section. This post
explains how we can add test run video to the Azure DevOps pipeline.
Sunday, October 6, 2019
Getting started with Web Performance Test Scenarios
Web Performance and Load Test is important part of the test cycle which help to verify the performance of the web application under load. Visual studio is one of the well known tool for Load and Performance test.Hence let's try to learn how to work with web performance test with Visual Studio in this post.
- Create New Project. Go to File-->New—>Project
- Popup window will open. Select Web Performance and Load Test Project from test projects section.
Sunday, September 8, 2019
Resolving Windows Machine File Copy Task Failed With Access Denied Issue
Windows machine file copy task in
Azure DevOps pipeline is used to copy files to remote windows machines. In this
blog we are going to discuss the access denied issue which might occur in this
task. When we use this task in the deployment pipeline to copy automation
scripts to test client machine, suddenly, deployment pipeline started failing with
an access denied issue as stated below. Let’s look at how it was resolved to
which might help you as well if you run into the same problem.
Thursday, August 22, 2019
Using NuGet Packages as Azure DevOps Artifacts
When we work
with Azure DevOps deployment pipelines, we have several options to select the
build artifacts. Most common way is selecting the build artifacts published in the build
pipeline. Other than this we can publish the artifacts as NuGet packages and
save in the Azure DevOps Artifacts feeds. This post will explain
how to create a NuGet feed, build and push NuGet packages using an
Azure DevOps build pipeline to the feed. Finally, we will discuss how to deploy artifacts
packaged as the NuGet packages using Azure DevOps
deployment pipelines.
Subscribe to:
Posts (Atom)
-
Azure DevOps YAML pipelines now support the stringList parameter type, which allows you to present multiple selectable options as checkboxe...
-
As DevOps engineers, you get requirements to do scripts to perform several actions on application or get status of the application backend ...
-
This blog explains how to use GitHub Copilot Chat to perform various Azure Kubernetes Service (AKS) tasks, such as creating an AKS cluster a...
