Showing posts with label VSO. Show all posts
Showing posts with label VSO. Show all posts

Wednesday, May 6, 2015

Installing and configuring TFS 2015 on-premise xplat build agent

One of the things that really got me exited about TFS 2015 was the cross platform build capability, and that was the first thing that I started to play with as soon as I got hold of the RC.

Interestingly enough, in VSO it is fairly easy to setup when you have the "alternate credentials" on VSO, but, as I was to discover, there are a few more things that you need to do before you can get it working on-prem.

So with my TFS server and newly installed Ubuntu box ready, I started the xplat (pronounced "cross plat(form)" if you were wondering) configuration. The install was fairly straight forward as per the steps indicated. Then came the configuration.

1) Authentication
The first thing the vsoagent configuration asks for is an account to run the xplat agent under. Linux does not play well in an Active Directory environment, and I have spent waaayy to much of my life trying to get linux working on AD. This hinted towards authentication problems…
But there is a Solution
VSO has the concept of alternate credentials, which is basically a "Basic Authentication" mechanism. What we need to do on-prem is to enable this type of behaviour.

  1. Log onto your TFS Server and install Basic auth on IIS 
  2. Go to the TFS application in IIS (Sites\Team Foundation Server\tfs) and enable basic auth
  3. Edit and set the domain and realm to the domain used for authentication

Basic Authentication

2) Security
Once you have the authentication mechanisms setup you need to pick the account that the agent is going to run under and assign the correct rights in TFS and in the build pool. To set the rights for the build pool you need to

  1. Navigate to TFS server web access admin screen (http://<<server>>:8080/tfs/_admin)
  2. Go to the "Agent Pools" tab and either create a new pool or select the default pool
  3. Then assign the account that the agent is going to run under into the "Agent Pool Service Account"

Assign Pool Rights

Not doing this may give you a "Failed Request: Forbidden (403)" error when you try and run the agent

3) Boot her up…
Finally you need to "boot her up". If you have followed the steps outlined here, you should be able to run "node vsoagent" in the agent folder of the newly "installed" agent and you should see something like this beauty..
Agent Config

and in TFS :Active Agent in TFS

and "thar she blows"..

image

Please note that it… .. use at own risk Disappointed smile

Tuesday, April 1, 2014

Visual Studio Online Pricing

Seems Microsoft has finally released the pricing model for Visual Studio Online!

Edition Note Intro Price Actual Price More info
Basic 5 users free $10.00 per additional user $20.00 http://www.visualstudio.com/en-za/products/visual-studio-online-basic-vs
Professional Incl VS Pro $22.50 pp $45.00 http://www.visualstudio.com/en-za/products/visual-studio-online-professional-vs
Advanced   $30.00 pp $60.00 http://www.visualstudio.com/en-za/products/visual-studio-online-advanced-vs

The interesting thing here is that the Professional subscription actually includes a "rented" version of VS Professional for the duration of the subscription. The downside is that you can only have up to 10 pro users on your account.

For an overview go and look here: http://www.visualstudio.com/products/visual-studio-online-overview-vs