Nuevas actividades de workflow en Team Foundation Build 11 Beta

Actividades para las construcciones automatizadas… ¡nunca son suficientes! Team Foundation Build 11 Beta viene con 69 actividades de workflow, lo que representa no menos de 28 nuevas con respecto a la versión 2010. De ellas, 14 están pensadas para usarlas en la personalización de nuestras construcciones automatizadas, prácticamente documentadas por completo, y listas para ser utilizadas.

Todas estas actividades están muy bien explicadas en la  documentación disponible en MSDN, pero voy a hacer un pequeño resumen, más que nada para ayudarme a recordarlas Winking smile.

GetCommonLocalPath y GetCommonServerPath

Dada una colección de rutas locales o de servidor, estas actividades devuelven la ruta común de mayor longitud para todas ellas.

IsNotNull<T> y IsNull<T>

Comprueban si una expresión Visual Basic es no nula o nula, respectivamente.

QueryShelvesets

Hace una consulta sobre el servidor de control de versiones, y devuelve una lista de conjuntos de cambios aplazados (shelvesets) que cumplen el criterio dado. El criterio puede definirse mediante el nombre del conjunto de cambios aplazado y el propietario.

RunTests

Esta es quizá una de las actividades más interesantes de las nuevas. Nos permite ejecutar pruebas usando el nuevo Visual Studio Test Runner, que a su vez nos da soporte para el uso de frameworks de pruebas unitarias distintos a (pero incluyendo) MSTest, como NUnit o xUnit. Esta actividad es utilizada en la misma plantilla DefaultTemplate.11.1.xaml para ejecutar las pruebasm si especificamos Visual Studio Test Runner, en el cuadro de diálogo Test Source,  en la pestaña Process de la ventana de definición de la construcción automatizada.

Aquí podemos ver el lugar donde se puede seleccionar el Test runner, que por defecto es Visual Studio Test Runner:

image_thumb6

Y aquí es donde la actividad RunTests es utilizada en la plantilla de construcción automatizada DefaultTemplate.11.1.xaml:

image_thumb1

TfGet, TfResolve, TfShelve, TfUnshelve, TfUndo, y TfWorkfold

Estas actividades son “wrappers” a los correspondientes comandos de tf.exe, que nos proporcionan más formas útiles de interactuar con el servidor de control de versiones desde una construcción automatizada. 

WriteBuildTestError

Escribe un mensaje de error de test en el log de la construcción automatizada, el cual también aparece en la vista de resultados de la construcción automatizada:

image_thumb3

WriteCustomSummaryInformation

Escribe un mensaje en la vista “Build summary” (el resumen de la ejecución de la construcción automatizada). Este mensaje puede incluir hipervínculos, y es posible especificar la sección dentro del “build summary” donde aparecerá el mensaje. El resultado tiene este aspecto:

image_thumb2

New workflow activities in Team Foundation Build 11 Beta

Build activities… you just can’t get enough! Team Foundation Build 11 Beta comes with 69 workflow activities, which represents no less than 28 new ones compared to the 2010 version. From these, 14 of them are intended for use in build customizations, almost fully documented, and ready to be used.

All these activities are nicely explained in the available documentation at MSDN, but I’m going to make a brief summary, mostly for helping myself to remember them Winking smile.

GetCommonLocalPath and GetCommonServerPath

Given a collection or either local or server paths, these activities will return the lowest-level common parent folder of all of them.

IsNotNull<T> and IsNull<T>

Test if a Visual Basic expression is either not null or null.

QueryShelvesets

Queries the version control server and returns a list of shelvesets which met the given criteria. The criteria can be defined using the shelveset name and the owner.

RunTests

This is maybe one of the most interesting activities among the new ones. It allows us to run tests using the new Visual Studio Test Runner, which in turn lets us to use unit testing frameworks other than (but including) MSTest, such as NUnit or xUnit. This activity is used by the DefaultTemplate.11.1.xaml itself to run the tests if we specify the Visual Studio Test Runner, under the Test Source dialog, in the Process tab of the build definition window.

Here we can see the place where we can choose the Test runner, which is Visual Studio Test Runner by default:

image

And here is the place where the RunTests activity is used inside the DefaultTemplate.11.1.xaml build process template:

image

TfGet, TfResolve, TfShelve, TfUnshelve, TfUndo, and TfWorkfold

These activities are wrappers to the corresponding tf.exe commands, giving us more useful ways to interact with the version control server from the build process. 

WriteBuildTestError

Writes a test error message in the build log, which appears also in the build results window:

image

WriteCustomSummaryInformation

Writes a message into the build summary. This message can include hyperlinks, and you can specify the section inside the build summary where the message will appear. The result looks like this:

image

Sesiones de ALM: Continuous Delivery, Automatización, NuGet+TFS, VS11, TFS Service, Scrum…

Si no tengo el récord, debo andar cerca… en menos de un mes he participado en tres eventos, en los cuales he sido ponente en un total de seis sesiones. Creo que debería plantearme cobrar por volumen (o por lo menos cobrar Smile).

Aquí os dejo el material de todas las sesiones; incluso están grabadas en video por si os interesa echarles un vistazo.

Grabación: http://channel9.msdn.com/Blogs/channel9spain/MICROSOFT-ALM-SESSIONS-2012-NOVEDADES-VSTUDIO-11-ENTREGA-CONTINUA

 

Grabaciones:

https://msevents.microsoft.com/CUI/EventDetail.aspx?culture=es-ES&EventID=1032504086&CountryCode=ES

http://www.zoguo.com/blog/videos/second-nug-como-hacer-el-paso-a-produccion-automatizacion-de-despliegues/

 

Grabación: http://www.globbtv.com/12/microsite/2012/12-horas-visual-studio-gestion-de-codigo-y-librerias-compartidas

 

Grabación: http://channel9.msdn.com/Blogs/channel9spain/MICROSOFT-ALM-SESSIONS-2012-NOVEDADES-VSTUDIO-11-ENTREGA-CONTINUA

 

Grabación: http://www.globbtv.com/2026/videos/12-horas-visual-studio-tfs-mas-ligero-en-la-nube

 

Grabación: http://channel9.msdn.com/Blogs/channel9spain/MICROSOFT-ALM-SESSIONS-2012-IMPLEMENTANDO-SCRUM-CON-TFS

CAS 2011 retrospective

This is my own retrospective about Agile Spain 2011 conference, which I attended last week.

Start doing

I couldn’t agree more with @eamodeorubio when he says that we should give the event a broader scope. I’m trying to help by writing this post only in English Smile. For example, we got near zero value from @jbrains during the round table because of the language. Start doing sessions in English and inviting international speakers! I gave a session at Agile Portugal conference a few months ago, and I was amazed to see how almost all the communication was carried out in English. Don’t get me wrong – I’m not against Spanish in any way, but we’re losing lots of opportunities for learning, networking and knowing new people by restricting almost all the conference to one language.

More of

More of these awesome sessions! Unfortunately I missed a lot of the program, but I enjoyed specially the keynotes, the Kanban sessions by Mr. Maeda, and to see how @jgomezz is helping to grow up a great team at his organization.

Keep doing

Please keep with that awesome work from the organization people! I’ve been doing that sort of organization work lately for www.scrumweek.com, and now I can understand how difficult is to take into account all these little details that arise when you have to deal with lots of attendants, speakers, sponsors, etc. My warmest congratulations for them. Thank you to the sponsors as well, for making it possible the event to take place.

Less of

As @pepellou already said, I’d get rid of some philosophical concerns and futile discussions during sessions, retrospectives and the event in general. We’re doing software, let’s focus in that!

Stop doing

I know it’s hard to maintain attention on a Friday afternoon, but for all of these not attending the retrospective, I’d ask them to think twice when they call themselves agilists. It was sad to realize that less that a quarter of the conference attendants stayed there until the retrospective. The only positive outcome of so much people missing, was that there were more mojitos for the ones who stayed, thanks to Autentia. Maybe scheduling the round table later would have help to avoid these fugitives.

And speaking in a broader sense, I’d try to stop some arguments that are commonly carried out between code-centric and process-centric people. Both of them are needed in almost any development project, so I’d stop arguing and start collaborating!

About my session

I spoke about new approaches to several Scrum practices, using the Scrum Guide as direction. Here are the slides:

 

And here is the video which appears on slide 17, which is being fairly popular:

 

And the winner is…

I promised to give away a seat for free, for my upcoming Professional Scrum Foundations course at Scrumweek Barcelona 2011, to one of the attendants to my session.

I’ve been impressed about how Yolanda Dura and her team are struggling to succeed with Scrum and Agile, so the prize goes for her. I hope they’ll take a lot of advantage from it.

Talleres sobre ALM en CEIN (Pamplona)

En un par de días voy a estar impartiendo dos talleres en CEIN (Pamplona):

Si estás por la zona esos días y te interesan los temas, es posible que aún queden plazas libres.

Primer curso Professional Scrum Foundations en España, y mucho más, en la ScrumWeek Barcelona 2011


Del 7 al 11 de noviembre va a tener lugar en Barcelona la segunda edición de la Scrumweek, un evento en el que, con la colaboración de Proyectalis, Plain Concepts y la comunidad, os ofrecemos un montón de cursos, sesiones y actividades que pueden ser de gran valor para profundizar en aspectos concretos del mundo ágil.

Para los que estéis buscando empezar con Scrum con el mejor pie, o reforzar conocimientos, estamos organizando el primer curso oficial Professional Scrum Foundations de scrum.org en España, que además de tener un enfoque y un contenido magníficos, permite obtener la certificación oficial de scrum.org. Antes de que me asalten los trolls de las certificaciones, deciros que el curso en sí mismo merece mucho la pena, como lo pueden atestiguar los cientos de personas que ya lo han recibido a nivel mundial. Si aprovechas el curso, que seguro que lo haces, habrás amortizado de sobra la inversión, aunque luego decidas no presentarte al examen para obtener la certificación (aunque ya que está incluido por probar que no quede ¿no?).

También tendremos una nueva edición del curso Professional Scrum Developer .NET en el cual exprimiremos Scrum en la práctica desde el punto de vista del rol de miembro del equipo, y poniendo énfasis en todas las buenas prácticas que pueden ayudar a trabajar mejor en un equipo ágil: integración continua, TDD, arquitectura, testing, etc. Todo facilitado por una buena ración de nuestras herramientas favoritas, Visual Studio ALM y Team Foundation Server. Y además, también con la opción de obtener una certificación, en este caso reconocida tanto por scrum.org como por Microsoft.

Los dos cursos serán impartidos por Rodrigo Corral (con lo que tenéis la calidad asegurada Winking smile), y por mí mismo.

Tendremos además la gran oportunidad de asistir al curso Management 3.0 de Jurgen Appelo, y al de Coaching de Equipos Ágiles de Ángel Medinilla. Sin duda otras dos grandísimas razones para no perderse el evento.

Y por si fuera poco, habrá además una serie de sesiones y actividades gratuitas hechas por y para la comunidad, incluyendo un Coding Dojo, algo tan novedoso en España como un Testing Dojo, y un Open Space para que todo el mundo pueda proponer y hablar de lo que más le interese.

Tenéis toda la información en la página de ScrumWeek Barcelona 2011.

¡Esperamos veros por allí!