Enabling logging verbosity process parameter in build definition(TFS 2013)

Verbosity for a build will help us to debug the build results to see what exactly went into build. In TFS 2013, default build process template TfvcTemplate.12.xaml verbosity level is set to “Normal” by default and if we need to change the verbosity level we have to download and open the template and set the Verbosity property value of RunMsBuild activity to Detailed or Diagnostic or Minimal (Image 1.0) and then check-in in TFS and then upload it to build.

Image 1.0

Image 1.0

 

Also this change is applicable for all the build definitions which makes use of build template. So it is not maintain different verbosity levels for all build definitions. And if we observe the default build process template (TfvcTemplate.12.xaml) of TFS 2013 we will not find the logging verbosity parameter to set it Minimal, Normal, Detailed or Diagnostic. (This option is available for TFS 2012 or TFS 2010 build templates by default). But this can be achieved by little customization to the template

Steps to enable the logging Verbosity parameter in Build definition process tab.

Download the template TfvcTemplate.12.xaml from build definition wizard and add it to the version control folder.

Now open this file in Visual Studio and you can see the workflow defined for TfvcTemplate.12.xaml template. Click on Arguments tab down the page and create new argument called Verbosity.

Let the argument Direction be “In” and change argument type to “Microsoft.TeamFoundation.Build.Workflow.BuildVerbosity”. And set Default value as “Microsoft.TeamFoundation.Build.Workflow.BuildVerbosity.Normal” as shown in Image 1.1

Image 1.1

Image 1.1

 

This completes defining the build argument and setting its default value. Now let’s make this argument be available in build definition Process Tab.

For this, click on Metadata argument in the argument tab and click on the ellipses (…) button under default value column of Metadata argument shown in Image 1.2

 

Image 1.2

Image 1.2

This will open “Process Parameter Metadata Editor” window shown in Image 1.3

Image 1.3

Image 1.3

 

In “Process Parameter Metadata Editor” window we can add the parameter that has to be appeared in build definition process parameters Image 1.4

Image 1.4

Image 1.4

 

Let us add the parameter Logging verbosity parameter under category 2. Build after 5. Advanced parameter i.e. 6. Logging verbosity

To do this, open” Process Parameter Metadata Editor” and make note of make note of parameter ProjectsToBuild, because we are adding parameter under same category. Image 1.5, in our template category value is #200 Build

Image 1.5

Image 1.5

 

Now click on Add button and give details as shown in Image 1.6.

Parameter Name                             :  Verbosity

Display Name                                   :  6. Logging verbosity

Category                                             : #200 Build

Description                                       : Specify the level of logging desired for this build. Higher verbosity levels will typically result in slower builds.

Value Format String                      : Microsoft.TeamFoundation.Build.Workflow.BuildVerbosity

View this parameter when          : Always show the parameter

Refer figure Image 1.6

Where Parameter Name should be same as argument name defined, Display Name how you want to display this parameter in build definition, Category under which category you want to display the parameter, Description explains the parameter in build definition and View this parameter when for enabling this parameter either only in build definition or only when queuing the build or both definition and queuing the build or never.

 

Image 1.6

Image 1.6

 

Then click ok and save the changes then check-in the template to Source Control. Use this customized template in build definition and you will be able to see the new parameter logging verbosity as shown in Image 1.7

 

Image 1.7

Image 1.7

Create a new build definition and while queuing you can edit this verbosity value in queue build parameter window as shown in Image 1.8

Image 1.8

Image 1.8

Thank you for reading blog, your comments are always welcome.

Team Foundation Server 2013 Administration Overview

Team Foundation Server 2013 Administration Overview

Overview:

This course will provide an overview of the administration and configuration of ‘Visual Studio 2013’. It will cover introduction to VS 2013, Team Foundation Server (TFS) and VS 2013 administration namely installing and Configuring Microsoft Team Foundation Server, permission settings, creation of team project collection and team projects, configure Build and customize process template.

Duration: 1 Day

Pre-Requisites for the course:

Participants should have

  • Experience using Virtual PC software, Visual Studio IDE, SharePoint Foundation, and SQL Reporting Services.

Course Contents

Visual Studio 2013 Overview

Installing and Configuring Microsoft Team Foundation Server (TFS)

  • Planning a TFS Deployment
  • Planning a TFS Installation
  • Installing TFS
  • Validating Installation
  • Configuring TFS Components

Administering Team Foundation Server Instances and Team Projects

  • Managing a TFS Instance
  • Managing Team Projects
  • Configuring Authorization and Security for TFS
  • Managing TFS Users and Groups
  • Managing TFS Health and Availability
  • Managing TFS service accounts

 Administering and Customizing Process Templates

  • Exploring an Existing Process Template
  • Customizing a Process Template
  • Customizing Work Item Types
  • Customizing reports.

 Administering Team Foundation Server Version Control

  • Working with Team Foundation Version Control
  • Advanced Functionality of Version Control
  • Configuring Version Control Security

Administering Team Foundation Build

  • Introducing Team Foundation Build
  • Configuring Team Foundation Security
  • Creating and Running a Team Build
  • Deployment using new In-release tool

Tentative Schedule

Duration Activity
10:00 – 10:30 am VS/TFS 2013 Overview with MSDN – Slide Show
10:00 – 11:00 am Installing   and Configuring MSTFS2013 -Slide Show
11:00 – 11:15 am Break
11:15 – 13:00 pm Administering   Team Foundation Server Instances and Team Projects(Demo)
13:00 – 14:00 pm Lunch Break
14:00 – 15:00 pm Administering   Team Foundation Server Version Control (Demo)
15:00 – 15:45 pm Administering Team Foundation Build (Demo)
15:45 – 16:00 pm Break
16:00 – 17:00 pm Administering and Customizing Process   Templates (Demo)

VS 2013 – Testing 2 days HOL

Microsoft Visual Studio 2013 Testing Overview 

Overview:

This course will provide an overview of the ‘Visual Studio 2013’. It will cover features and services of Visual Studio 2013 including Testing.

Duration: 2 Days

Pre-Requisites for the course

Participants should have

  • Experience as Testers or Test Leads or project Leads and Project Manager

Day 1 : Course Contents

Introduction to Microsoft Visual Studio 2013

Visual Studio 2013 Ultimate Overview for Testers

  • Test workflow and quality assurance guidance
  • Overview of Microsoft Test and Lab Management
  • The role of Team Foundation Server 2013

Working with Microsoft Test Manager 2013

  • Managing work items within Test Manager 2013
  • Managing test context
  • Managing test plans and test suites
  • Working with Test Plan configuration

Writing and Running Tests with Microsoft Test and Lab Management

  • New manual testing functionality
  • Running tests and reporting results
  • Recording tests and automated playback
  • Managing test runs
  • Managing Test Cases using Web Access

Creating and managing Bugs with Microsoft Test and Lab Management

  • Creating and managing Bugs
  • No more “No Repro”
  • Bug context and reporting
  • Recording video during testing
  • Exploratory Testing with MTM
    • Exploratory Testing in Microsoft Test Manager
    • Creating Bugs and Test Cases from exploratory tests

Day 1 : Tentative Schedule 

Duration Activity
10:00 – 10:30 am VS/TFS 2013 Overview with MSDN   – Slide Show
10:30 – 11:30 am Visual Studio 2013 Ultimate Overview for Testers
11:30 – 11:45 am Break
11:45 – 13:00 noon Working with Microsoft Test Manager 2013(Demo)
13:00 – 14:00 pm Lunch Break
14:00 – 15:45 pm Writing and Running Tests with Microsoft Test and Lab Management(Demo)
15:45 – 16:00 pm Break
16:00 – 17:00 pm Creating and managing Bugs with Microsoft Test and Lab Management(Demo)

Day 2 : Course Contents 

Coded UI Testing

    • Creating Coded UI Test for Windows applications
    • Creating Coded UI Test for web applications
    • Using Manual Test Recordings to create Coded UI Tests
    • Validating Coded UI Tests
    • Using the UI Control locator
    • Data-driven Coded UI Tests

Web and Load Test (Performance Testing)

  • Web Performance and Load Testing usage scenarios
  • Using load tests for different types of testing including smoke, stress, performance testing
  • Creating and running a Web Performance Test
  • Using the Web Performance Test Results Viewer
  • Editing Web Performance Tests
  • Data Driving web tests
  • Creating and running a Load Test
  • Analyzing Load Test results

Day 2 : Tentative Schedule

Duration Activity
10:30 – 10:30 am Vs2013CodedUI and Performance   Testing – Slide Show
10:30 – 11:30 am VS2013 Ultimate Coded UI Testing (Demo)
11:30 – 11:45 am Break
11:45 – 13:00 noon VS2013 Ultimate Coded UI Testing (Demo)
13:00 – 14:00 pm Lunch Break
14:00 – 15:00 pm VS2013 Ultimate Web Performance Testing(Demo)
15:00 – 15:45 pm VS2013 Ultimate Web Performance   Testing(Demo)
15:45 – 16:00 pm Break
16:00 – 17:00 pm VS2013 Ultimate Load Testing(Demo)

VSTFS 2013 – Overview 2 days HOL

Microsoft Visual Studio 2013 Overview 

Overview:

This course will provide an overview of the ‘Visual Studio 2013’. It will cover features and services of Visual Studio 2013 including Project Management, Architecture, Source Control, Development and Team Build features.

Duration: 2 Days

Pre-Requisites for the course

Participants should have

  • Experience as Developers or Testers or project Leads and Project Manager

Day 1 : Course Contents

 Visual Studio 2013 Overview

 Project Management features

  • Introduction to the Project Management features
  • Demonstration
    • Team Project Collection
    • Team Project Creation
    • Work item tracking
    • Traceability between work items
    • Agile Project Management through Web Access
    • Kanban Board and task Board.
    • Wok-Item charting
    • Team Portal
    • Reports
    • Storyboarding capabilities
    • Introducing the Microsoft Feedback Client

 Visual Studio Ultimate Edition Architecture features

  • Introduction to the Architecture features
  • Demonstration
    • Architecture Explorer
    • Layer Diagram
    • Code Dependency
    • UML Diagrams

Day 1 :  Tentative Schedule 

Duration Activity
10:00 – 10:30 am VS/TFS 2013 Overview with MSDN   – Slide Show
10:00 – 11:00 am Introduction to Project Management Features (Demo)
11:00 – 11:15 am Break
11:15 – 13:00 pm Agile Management through web access (Demo)
13:00 – 14:00 pm Lunch Break
14:00 – 15:00 pm Kanban Board and task Board  (Demo)
15:00 – 15:45 pm Storyboarding ,Introducing the Microsoft Feedback Client (Demo)
15:45 – 16:00 pm Break
16:00 – 17:00 pm Reports  (Demo)

Day 2 :Course Contents

 Enterprise ready Source Code Control

  • Introduction to Enterprise ready Source Code Control
  • Demonstration
    • Suspend and Resume
    • Git integration with TFS.
    • Basic Version Control features
    • Checkouts / Check-ins
    • Branch Visualization and Track Change sets
    • Check-in policies

Visual Studio Ultimate Edition Development features

  • Introduction to Development features
  • Demonstration
    • Unit tests and Code Coverage
    • Code Reviews
    • Code Profiling
    • Static Code Analysis
    • Code Metrics
    • Intellitrace
    • Code Clone
    • Code Lens
    • IDE Features

Team Build Features

  • Introduction to Team Build Features
  • Demonstration
    • Team build for GIt based source code.
    • Configuring builds
    • Gated Check-in
    • Scheduling builds

Day 2 :  Tentative Schedule 

Duration Activity
10:00 – 10:30 am VS/TFS 2013 Overview with MSDN   – Slide Show
10:00 – 11:00 am Visual Studio Ultimate Edition Development   features (Demo)
11:00 – 11:15 am Break
11:15 – 13:00 pm Visual Studio Ultimate Edition Development   features (Demo)
13:00 – 14:00 pm Lunch Break
14:00 – 15:00 pm Visual Studio Ultimate Edition Development   features (Demo)
15:00 – 15:45 pm Enterprise ready Source Code  Control  (Demo)
15:45 – 16:00 pm Break
16:00 – 17:00 pm Team Build  (Demo)

VS 2013 – Devlopment features 1 day HOL

Microsoft Visual Studio 2013 development features

Overview:

This course will provide an overview of the ‘Visual Studio 2013’. It will cover features and services of Visual Studio 2013 including Source Control, Development, and Team Build features.

Duration: 1 Day

Pre-Requisites for the course

Participants should have

  • Experience as Developers or Testers or project Leads and Project Manager

Course Contents

 Visual Studio 2013 Overview

 Visual Studio Ultimate Edition Development features

  • Introduction to Development features
  • Demonstration
    • Unit tests and Code Coverage
    • Code Reviews
    • Code Profiling
    • Static Code Analysis
    • Code Metrics
    • Intellitrace
    • Code Clone
    • Code Lens
    • IDE Features

 Enterprise ready Source Code Control

  • Introduction to Enterprise ready Source Code Control
  • Demonstration
    • Basic Version Control features
    • TFS support for GIT source code
    • Checkouts / Check-ins
    • Branch Visualization and Track Change sets
    • Suspend and Resume
    • Check-in policies

 Team Build Features

  • Introduction to Team Build Features
  • Demonstration
    • Configuring builds
    • Gated Check-in
    • Scheduling builds

Tentative Schedule

Duration Activity
10:00 – 10:30 am VS/TFS 2013 Overview with MSDN   – Slide Show
10:00 – 11:00 am Visual Studio Ultimate Edition Development   features (Demo)
11:00 – 11:15 am Break
11:15 – 13:00 pm Visual Studio Ultimate Edition Development   features (Demo)
13:00 – 14:00 pm Lunch Break
14:00 – 15:00 pm Visual Studio Ultimate Edition Development   features (Demo)
15:00 – 15:45 pm Enterprise ready Source Code   Control  (Demo)
15:45 – 16:00 pm Break
16:00 – 17:00 pm Team Build  (Demo)

 

VS 2013 – Architecture and Development feature 1 day HOL

Microsoft Visual Studio 2013 Architecture and Development 

Overview:

This course will provide an overview of the ‘Visual Studio 2013’. It will cover features and services of Visual Studio 2013 including Architecture, Development and Source Control.

Duration: 1 Day

Pre-Requisites for the course

Participants should have

  • Experience as Developers or Testers or project Leads and Project Manager

Course Contents

Visual Studio 2013 Overview

Visual Studio Ultimate Edition Architecture features

  • Introduction to the Architecture features
  • Demonstration
    • Architecture Explorer
    • Layer Diagram
    • Code Dependency
    • UML Diagrams

 Visual Studio Ultimate Edition Development features

  • Introduction to Development features
  • Demonstration
    • Unit tests and Code Coverage
    • Code Reviews
    • Code Profiling
    • Static Code Analysis
    • Code Metrics
    • Intellitrace
    • Code Clone
    • Code Lens
    • IDE Features

 Enterprise ready Source Code Control

  • Introduction to Enterprise ready Source Code Control
  • Demonstration
    • Basic Version Control features
    • Managing Git source code in TFS.
    • Checkouts / Check-ins
    • Branch Visualization and Track Change sets
    • Suspend and Resume
    • Check-in policies

Tentative Schedule 

Duration Activity
10:00 – 10:30 am VS/TFS 2013 Overview with MSDN   – Slide Show
10:00 – 11:00 am Visual Studio Ultimate Edition Architecture   features (Demo)
11:00 – 11:15 am Break
11:15 – 13:00 pm Visual Studio Ultimate Edition Development   features (Demo)
13:00 – 14:00 pm Lunch Break
14:00 – 15:00 pm Visual Studio Ultimate Edition Development   features (Demo)
15:00 – 15:45 pm Visual Studio Ultimate Edition   Development features (Demo)
15:45 – 16:00 pm Break
16:00 – 17:00 pm Enterprise ready Source Code   Control  (Demo)

TFS 2013 – Project Mangement 1 day HOL

Microsoft Visual Studio 2013 Project Management  

Overview:

This course will provide an overview of the ‘Team Foundation Server 2013’. It will cover features and services of Team Foundation Server (TFS) 2013 including project management, Team Build and Reporting.

Duration: 1 Day

Pre-Requisites for the course

Participants should have

  • Experience as Developers or Testers or project Leads and Project Manager

Course Contents

 Visual Studio 2013 Overview

 Project Management features

  • Introduction to the Project Management features
  • Demonstration
    • Team Project Collection
    • Team Project Creation
    • Work item tracking
    • Traceability between work items
    • Agile Project Management through Web Access
    • Product backlog and sprint planning
    • Team Portal
    • Team Rooms
    • Reports
    • Storyboarding capabilities
    • Introducing the Microsoft Feedback Client
    • Excel and project integration with TFS.
    • TFS for heterogeneous platform.

 Team Build Features

  • Introduction to Team Build Features
  • Demonstration
    • Configuring builds
    • Gated Check-in
    • Scheduling builds
    • Team Build for GIT source code.

Tentative Schedule 

Duration Activity
10:00 – 10:30 am VS/TFS 2013 Overview with MSDN   – Slide Show
10:00 – 11:00 am TPC,TP and work item concepts(Demo)
11:00 – 11:15 am Break
11:15 – 13:00 pm Product Backlog and Sprint Planning using   Team Web Access(Demo)
13:00 – 14:00 pm Lunch Break
14:00 – 15:00 pm Excel and Project Integration with TFS,   Story Boarding(Demo)
15:00 – 15:45 pm Reports, Team Portal (Demo)
15:45 – 16:00 pm Break
16:00 – 17:00 pm TFS for Heterogeneous Platform,   Team Build  (Demo)
Follow

Get every new post delivered to your Inbox.