[#TFSERVICE] HowTo: mount a Build Service to build #Windows8 or #WindowsPhone8 projects


image

Buenas,

after hit me awhile explaining how to set up a server for local build that works with an instance ofTeam Foundation Service (this post yesterday); today touches explain why.

Is quite simple: Team Foundation Service provides us a build service in the cloud that works very well. This service can compile the majority of projects we do with Visual Studio 2012, however apps for Windows 8 and are not supported for Windows Phone 8.

It is at this stage where I recommend you follow the steps in my post yesterday and get your own server for compiling for this type of project.

Can also be useful if your project requires some sort of prerequisite that you can not configure the build server: any COM component, etc.

Saludos @ La Finca

El Bruno

image image image

[#TFSERVICE] HowTo: montar un Build Service para compilar proyectos de Windows 8 o Windows Phone


image

Buenas,

después de pegarme un rato explicando como montar un servidor de compilación local que trabaje con una instancia de Team Foundation Service (este post de ayer); hoy toca explicar el porqué.

Es bastante simple: Team Foundation Service nos provee un servicio de compilación en la nube que funciona muy bien. Este servicio puede compilar la mayoría de proyectos que hacemos con Visual Studio 2012, sin embargo apps para Windows 8 y para Windows Phone 8 no están soportados.

Es en este escenario donde te recomiendo seguir los pasos de mi post de ayer y montarte tu propio servidor de compilación para este tipo de proyecto.

Igualmente puede ser de utilidad si tu proyecto requiere algún tipo de prerequisito que no puedas configurar el servidor de compilación: algún componente COM, etc.

 

Saludos @ Home

El Bruno

image image image

[#TFS2012] HowTo: Set up a local Build Server for Team Foundation Service


Saludos @ Home

image

Buenas,

return to a post that I have pending from make a time. Some people have asked me about whether it is possible to use the Build Service of Team Foundation Service to compile projects fromWindows 8. The answer is NO. The best option is to install a computer with Windows 8, Visual Studio 2012 and Team Build 2012 and connect it to the service of Team Foundation Service .

As I am in demo mode, I have chosen to install

And a couple of interesting to take into account data:

  • As a Team Build 2012 will be integrated with Team Foundation Service , the machine can not be in domain.
  • It is recommended to use a Microsoft Account that is local machine administrator to install and configure Team Build 2012. I created one on @outlook.com which comes in handy to me.

We go with the step by step:

1. Install Team Foundation Server 2012 Trial in Windows 8. Launch the management console.

image

2. Next you need to configure the Build Service. In the “Build Configuration” option select “Configure Intalled Featured”.

3 The Setup Wizard starts.

image

image

4. They should be connected with the Team Foundation Service team project collection.

image

5 Configure the build service properties.

image

6 We completed the service accounts.

image

7. The previous point is important. So the Build account to work properly, it must be within groups as shown in the following image. This part isn’t very well documented on MSDN (here for example), so that a little testing I have seen that these are groups which must belong to the account to be used as the Build account.

image

8. We launched the validation process for configuring Team Build 2012.

image

9. After a few seconds we will have our new Build Controller configured and connected to our instance of Team Foundation Service .

image

10. The next step is to create or edit a build definition so that it uses this new Build Controller. In the same options, we can see being Hosted Build Controller and the one we created in previous steps.

image

11 Done!

El Bruno

image image image

[#TFS2012] HowTo: Configurar un servidor de Build para Team Foundation Service


image

Buenas,

retomo un post que tengo pendiente desde hacer un tiempo. Algunas personas me han preguntado sobre si es posible utilizar el servicio de Build de Team Foundation Service para compilar proyectos de Windows 8. La respuesta es NO. La mejor opción es instalar un ordenador con Windows 8, Visual Studio 2012 y Team Build 2012 y conectar el mismo al servicio de Team Foundation Service.

Como estoy en modo demo, he optado por instalar

Y un par de datos interesantes a tener en cuenta:

  • Como Team Build 2012 se integrará con Team Foundation Service, la máquina no puede estar en dominio.
  • Es recomendable utilizar una Microsoft Account que sea administradora local de la máquina para instalar y configurar Team Build 2012. Yo he creado una en @outlook.com que me viene de perlas.

Vamos con el paso a paso:

1. Instalar Team Foundation Server 2012 Trial en Windows 8. Lanzar la consola de administración.

image

2. A continuación es necesario configurar el servicio de Build. En la opción “Build Configuration” seleccionas “Configure Intalled Featured”.

3. Se inicia el asistente de configuración.

image

image

4. Debemos conectar con el Team Foundation Service team project collection.

image

5. Configuramos las propiedades del servicio de compilación.

image

6. Completamos las cuentas de servicio.

image

7. El punto anterior es importante. Para que la cuenta de Build funcione correctamente, la misma tiene que estar dentro de los grupos que se muestra en la imagen siguiente. Esta parte no está muy bien documentada en MSDN (aquí por ejemplo), así que probando un poco he visto que estos son los grupos a los que debe pertenecer la cuenta para poder ser utilizada como cuenta de Build.

image

8. Lanzamos el proceso de validación para la configuración de Team Build 2012.

image

9. Después de unos segundos ya tendremos nuestro nuevo Build Controller configurado y conectado a nuestra instancia de Team Foundation Service.

image

10. El siguiente paso es crear o modificar una definición de build para que utilice este nuevo Build Controller. En las opciones del mismo, podemos ver que está el Hosted Build Controller y el que hemos creado en pasos anteriores.

image

11. Done !!!

Saludos @ La Finca

El Bruno

image image image

[#TFS] Team Foundation Server Word AddIn released!


image

Buenas,

great news to close the week. If you’re like me, and the issue of the documentation it hurts in the marrow of the bones, because the AddIn for Word that freed the Rangers ALM, you can relieve the day. The operation is very simple, is based on two premises:

-generate a word from WorkItem Tracking information document in Team Foundation Server

-Edit the templates for generating documents

Impressive! And for stock, a chicken Risa.

We have a new tab on the Ribbon for the selection of the WIQ from where the WorkItems will be removed

image

And the template editor which is also the most useful.

image

Homepage: http://vsarword4tfs.codeplex.com/

Source: http://blogs.msdn.com/b/visualstudioalm/archive/2012/10/04/alm-rangers-ship-the-first-version-of-team-foundation-server-word-add-in.aspx

Saludos @ Footer

El Bruno

image image image

[#TFS] Team Foundation Server Word AddIn released !!!


image

Buenas,

great news para cerrar la semana. Si sos como yo, y el tema de la documentación te duele en el tuétano de los huesos, pues el AddIn para Word que han liberado los ALM Rangers, te puede aliviar el día. El funcionamento es muy simple, se basa en 2 premisas:

- generar un documento word a partir de información de WorkItem Tracking en Team Foundation Server

- editar las plantillas para la generación de documentos

Impresionante!! Y para caldo, un pollo Risa.

Tenemos una nueva pestaña en la Ribbon para la selección de la WIQ desde donde se sacarán los WorkItems

image

Y el editor de plantillas que también es de lo más util.

image

Homepage: http://vsarword4tfs.codeplex.com/

Fuente: http://blogs.msdn.com/b/visualstudioalm/archive/2012/10/04/alm-rangers-ship-the-first-version-of-team-foundation-server-word-add-in.aspx

Saludos @ Home

El Bruno

image image image

[#TFSERVICE] HowTo: Disable auto deploy to #AZURE in my #Microsoft Account


image

Buenas,

a few days ago I wrote a post where commented as automating a deployment of a website to an instance of AZURE using Team Foundation Service as a repository of source code and Team Build of TFSPreview for the compilation, packaging and automation of deployment (the full post here).

A few minutes ago someone asked me how to revoke these permissions associated with my account AZURE and TFS. In the case of the revocation of the TFSPreview account we must follow the following steps:

1. Access http://www.tfspreview.com

2. Access our profile data (as show here ))

3. Select CONNECTIONS

4. Select the option “MANAGE-PROD CLOUDAPP” and revoke access to the same.

image

Saludos @ La Finca

El Bruno

image image image

[#TFSERVICE] HowTo: Redeploy a release to a WebSite or CloudService specified in # Azure


image

Buenas,

have a couple of days I wrote a post where described as automate a deployment process using Team Build from TFS Preview for websites of Azure. This scenario is very cool, but of course, it can happen that given time we deploy this environment to a version that is not what we want to be online.

Well, in this case we can do is the following:

1. In the administration of AZURE portal we access our WebSite or Cloud Service

2 Access the “DEPLOYMENTS” section

3. In this section, we accede to the location by default where there are deployment (STAGING)

4. Then you will see a list with all deployments that have been made to this environment. If we want to redeploy a previous version, we must select the same.

5. Press the “REDEPLOY” button on the lower toolbar.

image

6 Done!

It is extremely simple and fairly straightforward to take into account Open-mouthed smile

Saludos @ La Finca

El Bruno

image image image

[#TFSERVICE] HowTo: Redesplegar una release especifica a un WebSite o CloudService en #Azure


image

Buenas,

have un par de días escribí un post donde describí como automatizar un proceso de despliegue utilizando Team Build desde TFS Preview para websites de Azure. Este escenario es muy chulo, pero claro, puede suceder que en deteminado momento despleguemos a este entorno una versión que no es la que queremos que esté online.

Pues bien, para este caso lo que podemos hacer es lo siguiente:

1. Dentro del portal de administración de AZURE accedemos a nuestro WebSite o Cloud Service

2. Accedemos a la sección “DEPLOYMENTS”

3. En esta sección, accedemos a la ubicación por defecto donde se realizan los despliegues (STAGING)

4. A continuación veremos un listado con todos los despliegues que se han realizado a este entorno. Si queremos redesplegar una versión anterior, debemos seleccionar la misma.

5. Presionar el boton “REDEPLOY” en la barra de herramientas inferior.

image

6. Done !!!

Es extremandamente simple y bastante sencillo para tenerlo en cuenta Open-mouthed smile

Saludos @ Home

El Bruno

image image image

[#TFSERVICE] Deploying applications # AZURE from Team Foundation Service 2012


image

Buenas,

today we are going with a simple example: create a web application and deploy it in AZURE directly with a build from Team Foundation Service. (another question that arose during ) the talk of Team Foundation Service SecondNug ).

So who here is a tutorial format which in the end is my personal help:

1. Create a project ASP.Net MVC 4. In my case it is a very simple that you browse and displays the following:

image

2. Protect our project in Team Foundation Service .

Note: If you don’t have an account, my post on how to create a free account to test Team Foundation Service can help you.

3. Download the .net development tools from the .Net Developer Center azure. In my particular case for Visual Studio 2012 RC, are also available for Visual Studio 2010.

image

4. The next step is to go to the AZURE portal to create a website that is where to deploy our ASP.Net MVC 4 website. The portal is accessed from http://manage.windowsazure.com/

5. The portal options we can create a new WebSite or a CloudService to deploy our solution. In this case create a new “Cloud Service” with the QUICK CREATE option and reserving the urlhttp://elbrunoLabs04.cloudapp.net .

image

6. Once the service is created, access to it and already we can integrate it with the corresponding TFS instance.

7. Select the option “INTEGRATE SOURCE CONTROL // Set up TFS publishing”

image

8 We authorize the Team Foundation Service account to the Cloud Service.

image

9 Select the Team Project from which it will post the changes to our Cloud Service

image

10. At this time, the process of Linking between TFS and Cloud Service is launched.

image

11 And in few seconds completes the Linkking between both

image

12. At this point we can already publish our content from Source Control of TFS Preview to our Cloud Service.

13. For this example, I added a new Cloud project to the solution and I’ve added a WebRole from ASP.Net MVC 4 of solution (“ElBruno.MVC4.Labs02″) project

image

14. The next step is to let set up our project of Cloud so that you can publish to the cloud service that we have created. Although this process is much more complex and has many variants, the resumie in a few steps.

15 Select the Cloud project, display the shortcut menu and select the option “Publish”.

16 Set the steps for publishing in the first place, we chose the subscription of AZURE we want to use.

Note: you can read the complete step by step here .

image

17. Below we define the settings of our application. In my case I will leave the values by default, since I do not need or Remote Desktop, or IntelliTrace, etc.

image

18. Finally complete the publication to AZURE with the data by default and launched the publishing process.

image

19. The publishing process usually takes between 2 and 10 minutes to a Cloud Service.

image

20. In a few minutes we will have the active application on AZURE directly deployed from Visual Studio.image

21. Now, the idea with this exercise is have a definition of Team Build Service that directly publish the changes that are uploaded to Team Foundation Service Cloud service that we have created.This will create a new definition of build in Team Foundation Service and the same configure what you describe in the following steps.

22. In the first place, I will work with a build called “elbrunoLabs04_CD”.

23. Then we can define if the Build is for continuous integration or launch it manually, in this case, and as we have no fear of anything, will leave it in mode IC. (that translated into AZURE it allows us to make Continuous Deployment)

24. Once the Workspace defined and the Default build options, arrived at one of the most important points of this post: the ability to use a template specific to AZURE Build. At this point, we select the Build Process Template called AzureContinuousDeployment.xaml

image

25. Once defined the solution to compile basic data and tests to run, we see that we have 2 special for AZURE sections. We define the name of the settings of deploy, we have put in the 16 to 18 steps and except that need to make an override another value, the build definition would already be complete.

image

26. Starting at this time, each time that we protect a file will launch a new process of Build that automatically display the changes towards the azure portal.

image

And ready, almost 30 steps then already we can deploy our applications directly using Team Build in TFS Preview to AZURE Open-mouthed smile

Saludos @ La Finca

El Bruno

image image image