How to connect Azure subscription with Azure DevOps project?

by XDK 16. August 2019 02:41

Solution:

Open Azure DevOps project portal --> Project settings --> Service connections (under Pipelines category) --> New service connection --> Azure Resource Manager Service connection

Enter the details

 Enter Azure credential

Tags:

Azure DevOps Services | Microsoft Azure Services

What is Blue-Green Deployment?

by XDK 4. August 2019 16:20

Explanation:

Blue-green deployment is a technique that reduces downtime and risk by running two identical production environments called Blue and Green.

At any time, only one of the environments is live, with the live environment serving all production traffic. For this example, Blue is currently live and Green is idle.

As you prepare a new version of your software, deployment and the final stage of testing takes place in the environment that is not live: in this example, Green. Once you have deployed and fully tested the software in Green, you switch the router so all incoming requests now go to Green instead of Blue. Green is now live, and Blue is idle.

This technique can eliminate downtime due to app deployment. In addition, blue-green deployment reduces risk: if something unexpected happens with your new version on Green, you can immediately roll back to the last version by switching back to Blue.

Tags:

Amazon Web Service | Azure DevOps Services | General

Work Item Relation Types - List

by XDK 23. July 2019 02:12

GET https://{instance}/{collection}/_apis/wit/workitemrelationtypes?api-version=5.0

{attributes: {…}, referenceName: "System.LinkTypes.Related-Forward", name: "Related", url: null, _links: null}
{attributes: {…}, referenceName: "System.LinkTypes.Hierarchy-Forward", name: "Child", url: null, _links: null}
{attributes: {…}, referenceName: "System.LinkTypes.Hierarchy-Reverse", name: "Parent", url: null, _links: null}
{attributes: {…}, referenceName: "System.LinkTypes.Dependency-Forward", name: "Successor", url: null, _links: null}
{attributes: {…}, referenceName: "System.LinkTypes.Dependency-Reverse", name: "Predecessor", url: null, _links: null}
{attributes: {…}, referenceName: "Microsoft.VSTS.TestCase.SharedStepReferencedBy-Forward", name: "Test
 Case", url: null, _links: null}
{attributes: {…}, referenceName: "Microsoft.VSTS.TestCase.SharedStepReferencedBy-Reverse", name: "Shared
 Steps", url: null, _links: null}
{attributes: {…}, referenceName: "Microsoft.VSTS.Common.TestedBy-Forward", name: "Tested
 By", url: null, _links: null}
{attributes: {…}, referenceName: "Microsoft.VSTS.Common.TestedBy-Reverse", name: "Tests", url: null, _links: null}
{attributes: {…}, referenceName: "System.LinkTypes.Duplicate-Forward", name: "Duplicate", url: null, _links: null}
{attributes: {…}, referenceName: "System.LinkTypes.Duplicate-Reverse", name: "Duplicate
 Of", url: null, _links: null}
{attributes: {…}, referenceName: "Microsoft.VSTS.TestCase.SharedParameterReferencedBy-Forward", name: "Referenced
 By", url: null, _links: null}
{attributes: {…}, referenceName: "Microsoft.VSTS.TestCase.SharedParameterReferencedBy-Reverse", name: "References", url: null, _links: null}
{attributes: {…}, referenceName: "Hyperlink", name: null, url: null, _links: null}
{attributes: {…}, referenceName: "ArtifactLink", name: null, url: null, _links: null}

{attributes: {…}, referenceName: "Microsoft.VSTS.Common.Affects-Forward", name: "Affected by", url: null, _links: null}
{attributes: {…}, referenceName: "Microsoft.VSTS.Common.Affects-Reverse", name: "Affects", url: null, _links: null}

 

Tags:

Azure DevOps Services | REST APIs

REST API Versioning

by XDK 19. July 2019 18:48

Explanation:

API version can be specified either in the header of the HTTP request or as a URL query parameter:

HTTP request header: Accept: application/json;api-version=1.0
Query parameter: GET {url}/{organization}/_apis/{area}/{resource}?api-version=1.

Supported versions

Product 1.0 2.0 3.0 4.0 5.0
Azure DevOps Services X X X X X
Azure DevOps Server 2019 X X X X X
Team Foundation Server 2018 X X X X -
Team Foundation Server 2017 X X X - -
Team Foundation Server 2015 X X - - -

Note : Once a preview API is deactivated, requests that specify a -preview version will be rejected (for example, 1.0-preview.1, 1.0-preview.2).

 

Tags:

Azure DevOps Services | REST APIs | Team Foundation Server

Disclaimer

The information provided here is based on my expreriences, troubleshooting and online/offline findings. It can be used as is on your own risk without any warranties and I impose no rights.

About the author

My name is Xavier Dilip Kumar Jayaraj and I am a Software Configuration Management Engineer with a background in application development, Build & packaging using Install Shield.

Profile in LinkedIn , PCEP-Certified , Azure-DevOps-C1

DevOps Tools

ALM tools:
Azure DevOps
IBM Rational
CA Agile Central-Rally
CollabNet VersionOne

Configuration tools:
• Puppet
• CHEF
• AWS OpsWorks
• Ansible

Build automation tools:
Apache Ant 
Apache Maven
Boot
Gradle
Grunt
MSBuild
Waf

Continuous Integration tools:
Bamboo
Buildbot
Hudson
TeamCity

Testing tools:
Selenium
Watir
Wapt
ApacheJMeter
QTest

Version control system tools:
Subversion
Team Foundation Server
GIT
Mercurial
Perforce

Code review tools:
Crucible
Gerrit
GitHub
Bitbucket Server

Continuous Delivery/release management tools:
XL Release
ElectricFlow
Serena Release
Octopus Deploy

Quotes I Like

"Failure will never overtake me if my determination to succeed is strong enough."  - Dr. APJ. Abdul Kalam

"Always be yourself, express yourself, have faith in yourself, do not go out and look for a successful personality and duplicate it." - Bruce Lee

"Technology is just a tool. In terms of getting the kids working together and motivating them, the teacher is the most important." - Bill Gates

"Innovation distinguishes between a leader and a follower." - Steve Jobs

Knowledge Base Articles