Mostrando entradas con la etiqueta Alertas. Mostrar todas las entradas
Mostrando entradas con la etiqueta Alertas. Mostrar todas las entradas

viernes, 5 de abril de 2013

Links útiles #24 Team Foundation Server

1-Alertas en TFS 2012

El artículo nos explica como crear alertas en TFS 2012

http://blogs.msdn.com/b/jasonsingh/archive/2013/03/11/my-email-alerts-in-tfs-2012.aspx

2-Silverlight/RIA Build

http://lemeaow.wordpress.com/2012/10/09/creating-a-silverlightria-tfs-build-using-visual-studio/

3-Custom Activities en TFS

http://devtfs.wordpress.com/2012/10/09/tfs-custom-build-activities/

4-Migrar desde GIT a TFS 2012

El siguiente artículo nos explica como migrar un repositorio GIT a TFS 2012 con Git-Tf

image

http://blog.hinshelwood.com/migrating-source-code-with-history-to-tfs-2012-with-git-tf/

5-Sharepoint 2013 Apps y TFS 2012 build

El artículo nos explica como realizar un build con TFS 2012 para una App de Sharepoint 2013

completedbuild

http://www.alexandervanwynsberghe.be/deploying-sharepoint-2013-apps-with-tfs-2012/

6-Renombrar una Team Project Collection

Este artículo nos indica como cambiar el nombre del Team Project Collection, tanto el renombramiento de la base, como detach y attach de las colecciones.

image

http://blog.accentient.com/2013/03/14/RenameATFSProjectCollection.aspx

7-Administración de Proyectos Ágiles con TFS 2012

Visual Studio Team Foundation Server 2012 nos ayuda a planear, administrar, y track el trabajo mediante una tecnología ágil. Se explora product backlog, sprint backlog y task boards, el cual se usa para realizar track del flujo de trabajo durante el curso de una iteracción.

Product Backlog View

http://msdn.microsoft.com/es-es/magazine/dn189203(en-us).aspx

8-Build y Deploy proyectos de Sharepoint 2013 con TFS 2012

clip_image001[4]

Este proyecto contiene scripts de PowerShell y TFS Build workflows que permite realizar un build y deploy de proyectos de Office/Sharepoint 2013

http://officesharepointci.codeplex.com/

9-Soporte de Visual Studio 2012 Update 2 para TFS 2010 Controlers

image

http://blog.hinshelwood.com/visual-studio-2012-update-2-supports-2010-build-servers/

10-Team Foundation Services Build Apps para Windows Store

The New Section in the Build Report Showing Validation Results

Team Foundation Service permite realizar builds de Apps para la Windows Store

http://msdn.microsoft.com/en-us/magazine/dn166931.aspx

sábado, 2 de febrero de 2013

Tips/info #12 Team Foundation Server

1-TFS 2010 – Cruz roja sobre la carpete Documents y Reports (red X over Reports and Documents)

TFS_Red Cross next to documents and reports

Cierra el Visual Studio. Limpia la cache de TFS en tu máquina:

C:\Users\<UserName>\Local Settings\Application Data\Microsoft\Team Foundation\2.0\Cache
C:\Users\<UserName>\Local Settings\Application Data\Microsoft\Team Foundation\3.0\Cache

También borra la cache de Team Web Access, la carpeta se encuentra en el web.config que está en la siguiente ubicación:

C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\Web Access\Web

En el web.config aparece la key WorkItemTrackingCacheRoot

<appSettings>
    <!-- Directory path where cache is stored. –>

    <add key="WorkItemTrackingCacheRoot" value="C:\ProgramData\Microsoft\Team Foundation\Web Access\Cache_v10.0.30319"/>

    <!--<add key="DetailedRequestTrace" value="true" />-->
  </appSettings>

También se recomienda resetear los permisos tanto en el Reporting Services como en Sharepoint.

http://tfs:8080/tfs/web/ –> Project Portal –> Site Actions –> Site Settings –> People and Groups –> New –> Add Users

http://tfs/Reports –> Folder Settings –> Security –> New Role Assignment.

Otra posibilidad es que el nombre de los servers de TFS/Sharepoint/Reporting  no esté como FQDN.

Ej:El TFS se encuentra publicado en miTFS.dominio.com, y tu configuraste Visual Studio con miTFS

Para solucionarlo, se puede usar el archivo host de tu máquina.

2-TFS 210 client tracing (Visual Studio 2010)

El tracing de lo que ocurre del lado del cliente al conectarse con TFS, puede ser útil para ver solucionar errores. Para activarlo haga lo siguiente:

  • Cerrar Visual Studio 2010
  • Abrir el directorio: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
  • Hacer backup del archivo devenv.exe.config
  • Editar el archivo agregando las siguientes líneas, antes de tag </configuration>
 <appSettings>     <add key="VersionControl.EnableSoapTracing" value="true" />
<add key="VersionControl.TraceDownloadContent" value="false" />     <add key="VersionControl.EnableCompression" value="true" />
</appSettings>

<system.diagnostics>
  <switches>
    <add name="TeamFoundationSoapProxy" value="4" />
    <add name="VersionControl" value="4" />
  </switches>
  <trace autoflush="true" indentsize="3">
    <listeners>
      <add name="myListener"
   type="Microsoft.TeamFoundation.TeamFoundationTextWriterTraceListener,Microsoft.TeamFoundation.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
       initializeData="c:\Logs\tfs.log" />
      <add name="perfListener" type="Microsoft.TeamFoundation.Client.PerfTraceListener,Microsoft.TeamFoundation.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
               />
    </listeners>
  </trace>
</system.diagnostics>



  • Los datos se guardaran en el path c:\Logs\tfs.log

  • Inicia Visual Studio, y empezará a hacer tracing de lo que pasa entre VS y TFS.

2-TFS 2010 Server tracing


Los logs de la consola de TFS se encuentran en C:\ProgramData\Microsoft\Team Foundation\Server Configuration\Logs


TFS Application Tier Trace Logging

Ir hasta C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\Web Services\


Abrir el web.config, y agregar las siguientes líneas:


<appSettings>
<add key="traceWriter" value="true" />


<add key="traceDirectoryName" value="c:\Logs\" />
</appSettings>


Recuerda que el usuario de app pool de TFS, debe tener permisos para escribir en el archivo de logs. Para editar el tipo de trace level, hay que editar una clave de registro. También se puede hacer desde la línea de comando: reg.exe add HKLM\SOFTWARE\Microsoft\TeamFoundationServer\10.0\Admin /t REG_DWORD /v TraceLevel /d 4 /f



0 – Off, 1 – Error, 2 – Warning, 3 – Information, 4 – Verbose


Hay otra posibilidad para habilitar el verbosity para 2010 y es a través de un web services:


http://<tfsserver>:<port>/tfs/tftrace.ashx?[traceWriter=<true|false>][&][All=<traceLevel>]

Ej: http://<tfs_server>:8080/<WebServices>/tftrace.ashx?traceWriter=true&All=Verbose

Para deshabilitar los traces, ejecute lo siguiente:

http://<tfs_server>:8080/<WebServices>/tftrace.aspx?traceWriter=false&All=Verbose

<WebServices> puede reemplazarse por: Build, services, VersionControl, Warehouse, y WorkItemTracking

Ej: para VersionControl

http://localhost:8080/VersionControl/tftrace.aspx?traceWriter=true&All=Verbose

Recuerde, que la opción del handle vía web services NO es persistente, ya que cuando se haga un recycle o un iisreset, la configuración se pierde. Para ello se debe usar la opción de la clave de registro o el web.config (C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\Web Services\)

<system.diagnostics>

<assert assertuienabled="true" />

<trace autoflush="false" indentsize="4" />

<!-- Trace Switches
Each of the trace switches should be set to a value between 0 and 4, inclusive.
0: No trace output
1-4: Increasing levels of trace output; see Systems.Diagnostics.TraceLevel
-->

<switches>
<add name="API" value="4" />
<add name="Authentication" value="0" />
<add name="Authorization" value="0" />
<add name="Database" value="0" />
<add name="General" value="0" />
<!-- WorkItem trace switches -->
<add name="traceLevel" value="4" />
</switches>

</system.diagnostics>


Recuerde que puede utilizar http://localhost:8080/tfs/trace.axd para ver el trace de la ejecución.


clip_image008

Puedes usar DebugView http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx para revisar los logs. Recuerda habilitar Capture Win 32, Pass-Through y Capture Events

image

image



3-Configuración del delay de Notification en TFS 2010


Por default, TFS genera un delay de 2 minutos antes de enviar las alertas o notificaciones.


Para modificarlo, ejecute lo siguiente en una consola de PowerShell:


[Reflection.Assembly]::Load("Microsoft.TeamFoundation.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")

# Modifica la url de tu TFS

$configServer = new-object Microsoft.TeamFoundation.Client.TfsConfigurationServer "http://localhost:8080/tfs/"

# Obtiene el servicio de registry de TFS

$tfsRegService = $configServer.GetService([Microsoft.TeamFoundation.Framework.Client.ITeamFoundationRegistry])

# Seteo un delay de  30 seg.

$tfsRegService.SetValue("/Service/Integration/Settings/NotificationJobDelay", 30)

Otra posibilidad es usar la tool http://www.teamsystempro.com/downloads/TfsReg.zip

tfsreg.exe /server:https://yourtfs:8080/tfs/path:/Service/Integration/Settings/NotificationJobDelay /value:30

Recuerda hacer un recycle del app pool de  TFS.

viernes, 10 de agosto de 2012

Links útiles #12 Team Foundation Server

1-Kanban con TFS

http://www.alexandervanwynsberghe.be/implementing-kanban-with-tfs-introduction/

2-Azure y Team Foundation Services

http://geeks.ms/blogs/elbruno/archive/2012/07/10/tfservice-desplegando-aplicaciones-azure-desde-team-foundation-service-2012.aspx

3-TFS Build Output

http://bartwullems.blogspot.com.ar/2012/07/tfs-build-output-build-results-to.html

4-Crear una custom check in policy en TFS 2010

http://blogs.msdn.com/b/jimlamb/archive/2010/03/31/how-to-implement-package-and-deploy-custom-check-in-policy-for-tfs-2010.aspx

5-Team Explorer Everywhere en MAC-LINUX

http://jamsyoung.com/2010/08/15/using-tfs-cli-on-maclinux/

6-Configurar Notificaciones para TFS 2010

http://social.technet.microsoft.com/wiki/contents/articles/how-to-configure-tfs-notifications-in-team-foundation-server-2010.aspx

7-Team Foundation Server 2010 SP1 Objet Model installer

http://visualstudiogallery.msdn.microsoft.com/a37e19fb-3052-4fc9-bef7-4a4682069a75

Sirve para desarrollar aplicaciones que se integran con TFS 2010

8-Sharepoint 2013 y TFS 2012

http://www.alexandervanwynsberghe.be/connecting-sharepoint-2013-to-tfs-2012-rc/

9-Mover Team Foundation Server a un nuevo hardware

http://msdn.microsoft.com/en-us/library/ms404869.aspx

10-WebDeploy 3.0

http://blogs.iis.net/harshmittal/archive/2012/07/26/announcing-web-deploy-3-0-rtw.aspx

lunes, 9 de julio de 2012

Links útiles #11 Team Foundation Server

1-Importar Team Project de TFS con Eclipse

http://msdn.microsoft.com/es-es/library/hh568707(v=vs.110).aspx

2-Rollback con Team Foundation Server PowerTools

http://mikefourie.wordpress.com/2011/08/20/using-rollback-in-the-team-foundation-server-power-tools/

3-Team Foundation Service: tareas

http://geeks.ms/blogs/ffagas/archive/2012/06/26/tfs-cambios-en-tareas.aspx

4-Integración Azure con Team Foundation Services

http://geeks.ms/blogs/ffagas/archive/2012/06/26/azure-conectando-un-web-site-de-azure-con-tfs-parte-1.aspx

http://geeks.ms/blogs/ffagas/archive/2012/06/26/azure-conectando-un-web-site-de-azure-con-tfs-parte-2.aspx

http://geeks.ms/blogs/ffagas/archive/2012/06/26/azure-conectando-un-web-site-de-azure-con-tfs-parte-3.aspx

5-Novedades en Team Foundation Services: update 26/06

http://blogs.msdn.com/b/bharry/archive/2012/06/26/team-foundation-services-updates-6-25.aspx

6-Team Foundation 2010 + Web Deploy

http://geeks.ms/blogs/jvalero/archive/2012/06/26/integraci-243-n-continua-con-microsoft-visual-studio-team-foundation-server-2010-y-microsoft-web-deploy.aspx

7-Team Foundation Services: material de formación

https://tfspreview.com/en-us/learn/start/connect-to-vs/

8-Alertas en TFS

Configurar outgoing mail: http://social.technet.microsoft.com/wiki/contents/articles/how-to-configure-tfs-notifications-in-team-foundation-server-2010.aspx

http://intellitect.com/subscribing-to-tfs-alerts-with-tfs-power-tools-alerts-explorer/

Crear trigger automático de creación de alertas: http://ryanhanisco.com/2011/03/15/automatically-created-tfs-alerts/

http://msmvps.com/blogs/vstsblog/archive/2011/03/23/who-created-that-tfs-event-subscription.aspx

http://msdn.microsoft.com/en-us/library/ms181334.aspx

http://ryanhanisco.com/TFS%20Database%20Documentation/Tables/tbl_EventSubscription.html

9-VSS migration a TFS 2010, TFS 2010 migration a TFS 2012

http://blog.hinshelwood.com/upgrading-tfs-2010-to-tfs-2012-with-vss-migration-and-process-template-consolidation

10- Javascript Unit Test con Team Foundation Service

http://blogs.msdn.com/b/visualstudioalm/archive/2012/07/09/javascript-unit-tests-on-team-foundation-service-with-chutzpah.aspx