This post explains a small issue faced while reading the XML configuration file values using a PowerShell script. You may have experienced the same issue while reading XML files with PowerShell. So, this post would help you to learn how we can resolve the issue.
Our requirement was to get the content of the App.config file and App.dll.config file to a PowerShell variable. It was possible to get the content of the App.config file to a PowerShell variable with following command.$appConfig is the App.config file path.
Saturday, December 21, 2019
Sunday, December 15, 2019
Updating App config in Azure Pipeline Using Octopus Variable set
Prerequisites:
- Octopus environments
- Octopus variable sets
- Octopus project with variable sets attached
Let's identify how we configure a project and variable sets in the Octopus. Following image shows the Octopus variable and values defined with the scope.
Saturday, November 30, 2019
Reusing Steps in Azure DevOps Build Pipelines with YAML Templates
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.
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 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.
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...
