03Oct

Authoring custom release gates

Release gates allow controlled automatic collection of health signals from external services,
 and promote the release when all signals indicate a healthy deployment. 

In this example, we'll add a release gate to validate code coverage on a module before deployment.

Add gate to the release pipeline

1. Once the extension is installed on your account, you can add the new gate to your release pipelines.

2. Enable Gates and add Code Coverage to the gate.

    add-code-coverage

 

3. The release would wait for the cumulative code coverage for the chosen module  to reach the threshold before proceeding to the next stage. Configure the gate as shown below.

    configure-code-cover...

 

Task Inputs

Parameters Description
Artifact Select the build artifact
Module (Case sensitive) Name of the module or dll to evaluate
Code Coverage Type Line: to evaluate the number of lines not covered
  Block: to evaluate the number of blocks not covered 
Coverage Threshold Set the maximum threshold for line or blocks to pass the gate

 

Gates in action

When the number of lines not covered is less than the threshold, the gate is passed.

Example : Lines not covered - 37 Threshold - 38 - Pass

code-coverage-passed

When the number of lines not covered is greater than the threshold, the gate is failed.

Example: Lines not covered - 37 - Threshold - 36 - Pass

code-coverage-failed

Related

Sending Test reports by Email using Office 365, Gmail

Wouldn’t it be great if Test Report are sent automatically across team as soon the Test Execut...

Read More >

Exclusive CxO Roundtable at C-SOaP addresses

img{ display:block; } #outlook a{ padding:0; } body{ width:100% !important; } body{ ma...

Read More >

Report scheduling with Microsoft Dynamics NAV 2015

Microsoft Dynamics NAV 2015 has introduced a simple way to automatically running reports at desired ...

Read More >

OUT OF BAND Feature

What is the Out of Band??Think about the situation – your one of the user who is thousand mile...

Read More >

Webinar -The curious case of native versus the cross platform development of mobile apps

Please watch the LIVE RECORDING Video of the webinar session below which took place on 4th...

Read More >

How to build chat application using SIgnalR

IntroductionHello friends, This blog is related to a chat application which conatins the exchanging ...

Read More >

Business Process Testing Framework in QTP

Business Process Testing Framework Business Process Testing (BPT) is the core integration of QT...

Read More >

Creating an RDLC report in Asp.Net

Step 1.  Create a new website and Add DataSet to the WebsiteRight Click on the project, Add new...

Read More >

VSTS Team project Monitor

Let us discuss how to install VSTS team project monitor and how we can make use of it easily.Particu...

Read More >

What’s new: Extension for Microsoft Dynamics NAV 2016

We all have seen the situation where we need to put in lot of efforts to modify the standard NAV obj...

Read More >

Share

Post a Comment

  • Recent
  • Popular
  • Tag
Monthly Archive
Subscribe
Name

Contact Us
  • *
  • *