Shobin Mathew Rotating Header Image

Complete Devops using TFS 2015 and Microsoft RM 2015

Hi Guys,
Just wanted to share some achievement with regards to DevOps in my engagement with one of our client. We were using a quiet good set of tools for Release Management, which I have never used before. First step was to learn those tools. Also learned the release process that was existing in their organisation. Along with my normal build and deployment activities, I was partially spending time on doing Proof of Concepts on different process improvements to the existing process and development methodology.

TFS was used as a source control system by our client and not used for build and deployment. Initially implemented the build system in TFS 2013 XAML build engine. Meanwhile Microsoft released TFS 2015 vNext build system and we urged for upgrade to TFS 2015. Once we got TFS upgraded to TFS 2015, I started playing around with TFS 2015 vNext build system and Release Management Server 2015.

Yesterday, I could successfully test the TFS 2015 and RM server integrated build and deployment through TEST, QA and UAT Servers, including the approval workflow processes. The pilot run was successful though I need to complete some activities in it. It was really awesome.

Workflow in vNext Build definition in TFS 2015.

  1. Build a visual studio solution.
  2. In case of build failure send notification to all those who has checked in after last success full build.
  3. Perform the unit testing.
  4. Publish the build artifacts to a UNC path or shared network.
  5. Trigger the RM Release for Test stage.(Re Usable code snippet for the same has been published in Reuse Platform. Search in Enterprise Architect focus Area)

Workflow in RM server

  1. Deploy the Application to Test Server.
  2. Validate the deployment.
  3. Approve the test stage of deployment.
  4. Deploy the Application to QA Server.
  5. Validate the QA deployment.
  6. Approve the QA stage of deployment
  7. Deploy the Application to UAT Server.
  8. Validate the UAT deployment.
  9. Approve the UAT stage of deployment

The Configurations in Release Management Server using RM client.
(Refer: Points to be noted before RM configuration)

  1. Configure/Create the environments
  2. Configure/Add the servers to RM.
  3. Create the Release Path for the APP.
  4. Create a component for Web Application that is to be deployed.
  5. Create the component for Coded UI.
  6. Create the power shell script for deployment.
  7. Create the power shell script for Coded UI. Must Read: The challenges.


I will update the site with more details soon

Religious Conversion a controversy

Religion is a belief related to God and morality. Each person has his own belief and they believe their religion is correct. They have the right to believe so. If they feel another religion is correct, then they have the right to convert to the religion they feel right. We may be a part of a social movement/political party, just because we believe that movement/party is right and hence we try to convince people that our idea is right. This is same as religion also. That is why our constitution grants freedom of preaching religion.

Regarding the tension because of  Increasing percentage of Christianity in India:
As per 1971 census the percentage of Christianity is 2.6%. 1981 Census says that there are 2.4% Christians in India. 2006 Census states that there are 2.34% Christians in India. 2011 Census says that there are 2.3% Christians in India.

Still some people say that there are large number of conversion taking place in India forcefully and by bribing them. The purpose of spreading such fake data is to spread hatred between religions.

There are some articles saying that over 15000 Islams are converted to Christianity per year in France. Such unauthentic news might have created tension in terrorists groups like ISIS, which might have resulted in Paris attack.

I am currently living in Uruguay, where majority of the population is Catholics. Here I could see no discrimination based on religion or caste. Many Hindus and Muslims from India has reached here and settled down. Some has married Christian girls here. No one calls it as Love Jihad. No worries are seen here because of that.

And why we are worried about the increase in percentage of other religions ? Instead of creating terror, lets think which is right and which is wrong ? Lets correct ourselves.

There are large number of Catholic Missionaries all over the world. They preach Gospel of Lord Jesus Christ. They are catholic because they believe the doctrines of Catholic church are true.  Not only the missionaries, every true catholic believes that the principles of the Catholic church is true.

For example Catholics believe: “Salvation is found in no one else other than Jesus, for there is no other name under heaven given to mankind by which we must be saved” Acts 4:12
They also believe: ‘if you believe in the Lord Jesus, and you will be saved—you and your household”. Acts 16:31

Christianity teaches love at its extreme. So their love towards humanity persuades them to teach Catholic principles to their fellow being. They should teach the truth to the ignorant. They are Catholics because they believe Catholic doctrines are true. and they are committed in sharing that truth.

The same love persuades us the help others and do Charity activities. Its from this love of humanity we are doing charity activities. There is no meaning in telling that, Catholics are doing charity to convert people to their religion or community and increase the strength. Because Money can not do anything to change the internal belief of a person. conversion is something that has to take place over time sometimes. Sudden emotional change of mind also has to be rechecked. That is why Catholic church normally doesn’t allows sudden conversions. Anyone who would like to be a Catholic has to request to the nearest Parish priest. Then they will have to undergo a program called RACI, which will take one to two years normally. The purpose of the same is that, you will get chance to learn to Catholic doctrine and at each stage only if you are able to accept those beliefs you can move to next. RCIA is not meant to teach you everything there is to know about the Catholic faith – it is meant to give you the tips of the icebergs and hopefully to instill a thirst for more. Read more at  :

As per the 2006 cences there is 2.34% of Christians in India. In 2011 cences its 2.3%.

Some Catholic teachings regarding love:

If I speak in the tongues of men and of angels, but have not love, I am a noisy gong or a clanging cymbal. And if I have prophetic powers, and understand all mysteries and all knowledge, and if I have all faith,so as to remove mountains, but have not love, I am nothing. If I give away all I have, and if I deliver up my body to be burned,[a] but have not love, I gain nothing.

Love is patient and kind; love does not envy or boast; Love is not arrogant. Love is never rude. Love does not insist on its own way; Love is not irritable or resentful; Love does not rejoice at wrongdoing, Love rejoices with the truth. Love bears all things, believes all things, hopes all things, endures all things. Love never ends. 

13 So now faith, hope, and love abide, these three; but the greatest of these is love.

I would suggest to put your name in place of Love and read the passage (verses 4-8) again. Think how much that suits you. It can never be 100%. But it will be helpful.

It is this love that persuades Missionaries to preach Gospel and help the needy.

Coded UI Tests from vNext Release Templates in RM 2015

To have complete automated release process, we should have the coded UI tests as a part of Release and deployment. When we consider vNext release templates, we have to use power shell script to initiate and perform the coded UI test. I performed PoC with three command line tools.  I would like to summaries my findings here.

  1. TCM.exe: It needs Lab Management to be implemented. We need to assign a coded UI test to the testcases in MTM. We can then trigger automated test in MTM using the command line tool TCM.exe. The automated test will be trigerred but will be waiting for the Test controller.
  2. MStest.exe: This wont support vNext builds. I was able to successfully trigger the automated coded UI test but was unable to publish the results to TFS.
  3. Vstest.console.exe:The tfspublisher extension of this command line tool has issues in TFS 2015 update 1, which will be fixed in VS2015 update 2. I was able to successfully run the coded UI tests, but unable to publish the results to TFS.